[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20190518114623.17578-1-houweitaoo@gmail.com>
Date: Sat, 18 May 2019 19:46:23 +0800
From: Weitao Hou <houweitaoo@...il.com>
To: balbi@...nel.org, gregkh@...uxfoundation.org, Julia.Lawall@...6.fr,
houweitaoo@...il.com
Cc: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] usb: fix typos in code comments
fix lengh to length
Signed-off-by: Weitao Hou <houweitaoo@...il.com>
---
drivers/usb/gadget/udc/snps_udc_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/udc/snps_udc_core.c b/drivers/usb/gadget/udc/snps_udc_core.c
index 3fcded31405a..2e84900d0b40 100644
--- a/drivers/usb/gadget/udc/snps_udc_core.c
+++ b/drivers/usb/gadget/udc/snps_udc_core.c
@@ -2734,7 +2734,7 @@ static irqreturn_t udc_control_in_isr(struct udc *dev)
/* write fifo */
udc_txfifo_write(ep, &req->req);
- /* lengh bytes transferred */
+ /* length bytes transferred */
len = req->req.length - req->req.actual;
if (len > ep->ep.maxpacket)
len = ep->ep.maxpacket;
--
2.18.0
Powered by blists - more mailing lists