Message ID | 20231212074557.3100489-1-shitao@kylinos.cn (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | usb: fix comment typos | expand |
On Tue, Dec 12, 2023 at 03:45:57PM +0800, shitao wrote: > Fix two comment typos in usb module files. > > Reported-by: k2ci <kernel-bot@kylinos.cn> What is this? It needs to be documented better, sorry. thanks, greg k-h
On Tue, Dec 12, 2023 at 03:45:57PM +0800, shitao wrote: > 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(-) Also why isn't this two different patches? thanks, greg k-h
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;
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(-)