[PATCH v3] usb: mtu3: Fix spelling typo in comments

chen zhang chenzhang at kylinos.cn
Wed Sep 7 23:10:57 PDT 2022


Fix spelling typo in comments.

K2ci (Kylin Continuous Integration) is a code pre-verification tool
independently developed by KylinSoft, which is used for ensuring the
code quality of code submission. K2ci includes the comment check tool
notes_check.

This spelling typo was found using notes_check tool, which reported the
following warning when check the v5.19 kernel release:

python3 notes_check.py
drivers/usb/mtu3/mtu3_qmu.c emtpy

Reported-by: k2ci <kernel-bot at kylinos.cn>
Signed-off-by: chen zhang <chenzhang at kylinos.cn>
---
change for v3: move k2ci tool explain to changelog text 
change for v2: add k2ci tool explain
---
 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 2ea3157ddb6e..5c3fbfcf6483 100644
--- a/drivers/usb/mtu3/mtu3_qmu.c
+++ b/drivers/usb/mtu3/mtu3_qmu.c
@@ -220,7 +220,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 int gpd_ring_empty(struct mtu3_gpd_ring *ring)
 {
 	struct qmu_gpd *enq = ring->enqueue;
-- 
2.25.1




More information about the Linux-mediatek mailing list