summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorWang Hai <wanghai38@huawei.com>2021-03-24 14:22:24 +0800
committerDavid S. Miller <davem@davemloft.net>2021-03-24 17:52:11 -0700
commitda1da87fa7fcf55871635f3f545c3b2932019213 (patch)
treedce9ec7918af2ce8340207862d98fe74af600920 /net
parent0e4161d0eda56e3e05456fdc2c346eab0a6e4aa8 (diff)
6lowpan: Fix some typos in nhc_udp.c
s/Orignal/Original/ s/infered/inferred/ Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wang Hai <wanghai38@huawei.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/6lowpan/nhc_udp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/6lowpan/nhc_udp.c b/net/6lowpan/nhc_udp.c
index 8a3507524f7b..33f17bd8cda7 100644
--- a/net/6lowpan/nhc_udp.c
+++ b/net/6lowpan/nhc_udp.c
@@ -5,7 +5,7 @@
* Authors:
* Alexander Aring <aar@pengutronix.de>
*
- * Orignal written by:
+ * Original written by:
* Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
* Jon Smirl <jonsmirl@gmail.com>
*/
@@ -82,7 +82,7 @@ static int udp_uncompress(struct sk_buff *skb, size_t needed)
if (fail)
return -EINVAL;
- /* UDP length needs to be infered from the lower layers
+ /* UDP length needs to be inferred from the lower layers
* here, we obtain the hint from the remaining size of the
* frame
*/