Linux-USB Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH 0/2] usb: gadget: Remove unneeded semicolon
@ 2019-11-28  2:45 zhengbin
  2019-11-28  2:45 ` [PATCH 1/2] usb: gadget: f_fs: " zhengbin
  2019-11-28  2:45 ` [PATCH 2/2] usb: gadget: udc: " zhengbin
  0 siblings, 2 replies; 3+ messages in thread
From: zhengbin @ 2019-11-28  2:45 UTC (permalink / raw)
  To: balbi, gregkh, linux-usb; +Cc: zhengbin13

zhengbin (2):
  usb: gadget: f_fs: Remove unneeded semicolon
  usb: gadget: udc: Remove unneeded semicolon

 drivers/usb/gadget/function/f_fs.c | 2 +-
 drivers/usb/gadget/udc/omap_udc.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--
2.7.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] usb: gadget: f_fs: Remove unneeded semicolon
  2019-11-28  2:45 [PATCH 0/2] usb: gadget: Remove unneeded semicolon zhengbin
@ 2019-11-28  2:45 ` " zhengbin
  2019-11-28  2:45 ` [PATCH 2/2] usb: gadget: udc: " zhengbin
  1 sibling, 0 replies; 3+ messages in thread
From: zhengbin @ 2019-11-28  2:45 UTC (permalink / raw)
  To: balbi, gregkh, linux-usb; +Cc: zhengbin13

Fixes coccicheck warning:

drivers/usb/gadget/function/f_fs.c:2508:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
---
 drivers/usb/gadget/function/f_fs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/gadget/function/f_fs.c b/drivers/usb/gadget/function/f_fs.c
index b0f3aa6..81e2dd8 100644
--- a/drivers/usb/gadget/function/f_fs.c
+++ b/drivers/usb/gadget/function/f_fs.c
@@ -2505,7 +2505,7 @@ static int __ffs_data_got_descs(struct ffs_data *ffs,
 		os_descs_count = get_unaligned_le32(data);
 		data += 4;
 		len -= 4;
-	};
+	}

 	/* Read descriptors */
 	raw_descs = data;
--
2.7.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] usb: gadget: udc: Remove unneeded semicolon
  2019-11-28  2:45 [PATCH 0/2] usb: gadget: Remove unneeded semicolon zhengbin
  2019-11-28  2:45 ` [PATCH 1/2] usb: gadget: f_fs: " zhengbin
@ 2019-11-28  2:45 ` " zhengbin
  1 sibling, 0 replies; 3+ messages in thread
From: zhengbin @ 2019-11-28  2:45 UTC (permalink / raw)
  To: balbi, gregkh, linux-usb; +Cc: zhengbin13

Fixes coccicheck warning:

drivers/usb/gadget/udc/omap_udc.c:2579:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
---
 drivers/usb/gadget/udc/omap_udc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/gadget/udc/omap_udc.c b/drivers/usb/gadget/udc/omap_udc.c
index f36f073..6bb65f3 100644
--- a/drivers/usb/gadget/udc/omap_udc.c
+++ b/drivers/usb/gadget/udc/omap_udc.c
@@ -2576,7 +2576,7 @@ omap_ep_setup(char *name, u8 addr, u8 type,
 	case USB_ENDPOINT_XFER_INT:
 		ep->ep.caps.type_int = true;
 		break;
-	};
+	}

 	if (addr & USB_DIR_IN)
 		ep->ep.caps.dir_in = true;
--
2.7.4


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-28  2:45 [PATCH 0/2] usb: gadget: Remove unneeded semicolon zhengbin
2019-11-28  2:45 ` [PATCH 1/2] usb: gadget: f_fs: " zhengbin
2019-11-28  2:45 ` [PATCH 2/2] usb: gadget: udc: " zhengbin

Linux-USB Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-usb/0 linux-usb/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-usb linux-usb/ https://lore.kernel.org/linux-usb \
		linux-usb@vger.kernel.org
	public-inbox-index linux-usb

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-usb


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git