summaryrefslogtreecommitdiff
path: root/drivers/net/usb
diff options
context:
space:
mode:
authorWang Qing <wangqing@vivo.com>2020-11-06 10:50:25 +0300
committerJakub Kicinski <kuba@kernel.org>2020-11-08 02:52:30 +0300
commitef9ac2091180c885208763ab1284b8c679fa553c (patch)
treebca53ea88740f8b1bfddca6de7fcf215ac66b9ae /drivers/net/usb
parent75a5fb0cdbb7f2529743dfbae3ea6d1971d0734f (diff)
downloadlinux-ef9ac2091180c885208763ab1284b8c679fa553c.tar.xz
net: usb: fix spelling typo in cdc_ncm.c
Actually, withing should be within. Signed-off-by: Wang Qing <wangqing@vivo.com> Link: https://lore.kernel.org/r/1604649025-22559-1-git-send-email-wangqing@vivo.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/usb')
-rw-r--r--drivers/net/usb/cdc_ncm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c
index e04f588538cc..746353c51f6d 100644
--- a/drivers/net/usb/cdc_ncm.c
+++ b/drivers/net/usb/cdc_ncm.c
@@ -1317,7 +1317,7 @@ cdc_ncm_fill_tx_frame(struct usbnet *dev, struct sk_buff *skb, __le32 sign)
break;
}
- /* calculate frame number withing this NDP */
+ /* calculate frame number within this NDP */
if (ctx->is_ndp16) {
ndplen = le16_to_cpu(ndp.ndp16->wLength);
index = (ndplen - sizeof(struct usb_cdc_ncm_ndp16)) / sizeof(struct usb_cdc_ncm_dpe16) - 1;