2021-03-24 10:08:05

by Wang Hai

[permalink] [raw]
Subject: [PATCH net-next] 6lowpan: Fix some typos in nhc_udp.c

s/Orignal/Original/
s/infered/inferred/

Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wang Hai <[email protected]>
---
net/6lowpan/nhc_udp.c | 4 ++--
1 file 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 <[email protected]>
*
- * Orignal written by:
+ * Original written by:
* Alexander Smirnov <[email protected]>
* Jon Smirl <[email protected]>
*/
@@ -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
*/
--
2.17.1


2021-03-25 03:18:45

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH net-next] 6lowpan: Fix some typos in nhc_udp.c

On 3/23/21 11:22 PM, Wang Hai wrote:
> s/Orignal/Original/
> s/infered/inferred/
>
> Reported-by: Hulk Robot <[email protected]>
> Signed-off-by: Wang Hai <[email protected]>

Acked-by: Randy Dunlap <[email protected]>

> ---
> net/6lowpan/nhc_udp.c | 4 ++--
> 1 file 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 <[email protected]>
> *
> - * Orignal written by:
> + * Original written by:
> * Alexander Smirnov <[email protected]>
> * Jon Smirl <[email protected]>
> */
> @@ -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
> */
>


--
~Randy