2019-04-18 10:40:31

by Colin King

[permalink] [raw]
Subject: [PATCH] net: ipv6: addrlabel: fix spelling mistake "requewst" -> "request"

From: Colin Ian King <[email protected]>

There is a spelling mistake in a NL_SET_ERR_MSG_MOD error message,
fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
net/ipv6/addrlabel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/ipv6/addrlabel.c b/net/ipv6/addrlabel.c
index d43d076c98f5..1766325423b5 100644
--- a/net/ipv6/addrlabel.c
+++ b/net/ipv6/addrlabel.c
@@ -476,7 +476,7 @@ static int ip6addrlbl_valid_dump_req(const struct nlmsghdr *nlh,
}

if (nlmsg_attrlen(nlh, sizeof(*ifal))) {
- NL_SET_ERR_MSG_MOD(extack, "Invalid data after header for address label dump requewst");
+ NL_SET_ERR_MSG_MOD(extack, "Invalid data after header for address label dump request");
return -EINVAL;
}

--
2.20.1


2019-04-18 10:51:47

by Mukesh Ojha

[permalink] [raw]
Subject: Re: [PATCH] net: ipv6: addrlabel: fix spelling mistake "requewst" -> "request"


On 4/18/2019 4:09 PM, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in a NL_SET_ERR_MSG_MOD error message,
> fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Mukesh Ojha <[email protected]>

Cheers,
-Mukesh
> ---
> net/ipv6/addrlabel.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/ipv6/addrlabel.c b/net/ipv6/addrlabel.c
> index d43d076c98f5..1766325423b5 100644
> --- a/net/ipv6/addrlabel.c
> +++ b/net/ipv6/addrlabel.c
> @@ -476,7 +476,7 @@ static int ip6addrlbl_valid_dump_req(const struct nlmsghdr *nlh,
> }
>
> if (nlmsg_attrlen(nlh, sizeof(*ifal))) {
> - NL_SET_ERR_MSG_MOD(extack, "Invalid data after header for address label dump requewst");
> + NL_SET_ERR_MSG_MOD(extack, "Invalid data after header for address label dump request");
> return -EINVAL;
> }
>

2019-04-18 17:45:53

by David Miller

[permalink] [raw]
Subject: Re: [PATCH] net: ipv6: addrlabel: fix spelling mistake "requewst" -> "request"

From: Colin King <[email protected]>
Date: Thu, 18 Apr 2019 11:39:18 +0100

> From: Colin Ian King <[email protected]>
>
> There is a spelling mistake in a NL_SET_ERR_MSG_MOD error message,
> fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>

Applied.