2023-11-23 02:54:00

by shitao

[permalink] [raw]
Subject: [PATCH] usb: Correct misspelling comment word dynamic

The word 'dyanmic' on comment of struct tcp_error is misspelled.
Correct it to be 'dynamic', avoiding confusing other developers.

Reported-by: k2ci <[email protected]>
Signed-off-by: shitao <[email protected]>
---
drivers/usb/gadget/udc/bdc/bdc_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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;
--
2.34.1