[PATCH] usb: mtu3: fix comment typo

shitao shitao at kylinos.cn
Tue Dec 12 03:09:59 PST 2023


Reported-by: k2ci <kernel-bot at kylinos.cn>
Signed-off-by: shitao <shitao at kylinos.cn>
---
Hi,
according to your suggestion, I have split it into two patches and added some simple instructions.
This is about fixing the misspelling of "empty" in the mtu3_qmu.c file. 
thanks.
 drivers/usb/mtu3/mtu3_qmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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




More information about the Linux-mediatek mailing list