diff mbox series

[v3] usb: gadget: Fix spelling typo in comments

Message ID 20220908061041.16926-1-chenzhang@kylinos.cn (mailing list archive)
State New, archived
Headers show
Series [v3] usb: gadget: Fix spelling typo in comments | expand

Commit Message

chen zhang Sept. 8, 2022, 6:10 a.m. UTC
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/gadget/function/f_uac1_legacy.c selecotor
python3 notes_check.py
drivers/usb/gadget/udc/bdc/bdc_ core.c dyanmic

Reported-by: k2ci <kernel-bot@kylinos.cn>
Signed-off-by: chen zhang <chenzhang@kylinos.cn>
---
change for v3: move k2ci tool explain to changelog text 
change for v2: add k2ci tool explain
---
 drivers/usb/gadget/function/f_uac1_legacy.c | 2 +-
 drivers/usb/gadget/udc/bdc/bdc_core.c       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/usb/gadget/function/f_uac1_legacy.c b/drivers/usb/gadget/function/f_uac1_legacy.c
index e2d7f69128a0..e23aed620c4d 100644
--- a/drivers/usb/gadget/function/f_uac1_legacy.c
+++ b/drivers/usb/gadget/function/f_uac1_legacy.c
@@ -780,7 +780,7 @@  static int generic_get_cmd(struct usb_audio_control *con, u8 cmd)
 	return con->data[cmd];
 }
 
-/* Todo: add more control selecotor dynamically */
+/* Todo: add more control selector dynamically */
 static int control_selector_init(struct f_audio *audio)
 {
 	INIT_LIST_HEAD(&audio->cs);
diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/drivers/usb/gadget/udc/bdc/bdc_core.c
index 9849e0c86e23..f9bf3b192cc8 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;