public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] usb: fix comment typos
@ 2023-12-12  7:45 shitao
  2023-12-12  8:25 ` Greg KH
  2023-12-12  8:25 ` Greg KH
  0 siblings, 2 replies; 11+ messages in thread
From: shitao @ 2023-12-12  7:45 UTC (permalink / raw)
  To: justin.chen, alcooperx, gregkh, chunfeng.yun, linux-usb,
	linux-kernel, linux-mediatek
  Cc: shitao, k2ci

Fix two comment typos in usb module files.

Reported-by: k2ci <kernel-bot@kylinos.cn>
Signed-off-by: shitao <shitao@kylinos.cn>
---
 drivers/usb/gadget/udc/bdc/bdc_core.c | 2 +-
 drivers/usb/mtu3/mtu3_qmu.c           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/drivers/usb/gadget/udc/bdc/bdc_core.c
index 35a652807fca..874122f8baa3 100644
--- a/drivers/usb/gadget/udc/bdc/bdc_core.c
+++ b/drivers/usb/gadget/udc/bdc/bdc_core.c
@@ -361,7 +361,7 @@ int bdc_reinit(struct bdc *bdc)
 	return ret;
 }
 
-/* Allocate all the dyanmic memory */
+/* Allocate all the dynamic memory */
 static int bdc_mem_alloc(struct bdc *bdc)
 {
 	u32 page_size;
diff --git a/drivers/usb/mtu3/mtu3_qmu.c b/drivers/usb/mtu3/mtu3_qmu.c
index 3d77408e3133..03f26589b056 100644
--- a/drivers/usb/mtu3/mtu3_qmu.c
+++ b/drivers/usb/mtu3/mtu3_qmu.c
@@ -221,7 +221,7 @@ static struct qmu_gpd *advance_deq_gpd(struct mtu3_gpd_ring *ring)
 	return ring->dequeue;
 }
 
-/* check if a ring is emtpy */
+/* check if a ring is empty */
 static bool gpd_ring_empty(struct mtu3_gpd_ring *ring)
 {
 	struct qmu_gpd *enq = ring->enqueue;
-- 
2.34.1


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

end of thread, other threads:[~2023-12-12 11:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-12  7:45 [PATCH] usb: fix comment typos shitao
2023-12-12  8:25 ` Greg KH
2023-12-12  8:25 ` Greg KH
2023-12-12 10:06   ` [PATCH] usb: mtu3: fix comment typo shitao
2023-12-12 10:21     ` Greg KH
2023-12-12 11:09       ` shitao
2023-12-12 11:45         ` Greg KH
2023-12-12 10:19   ` [PATCH] usb: gadget: udc: bdc: " shitao
2023-12-12 10:33     ` Greg KH
2023-12-12 11:17       ` shitao
2023-12-12 11:43         ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox