OSDN Git Service

6lowpan: Fix some typos in nhc_udp.c
authorWang Hai <wanghai38@huawei.com>
Wed, 24 Mar 2021 06:22:24 +0000 (14:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Mar 2021 00:52:11 +0000 (17:52 -0700)
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>
net/6lowpan/nhc_udp.c

index 8a35075..33f17bd 100644 (file)
@@ -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
         */