2022-12-07 10:24:31

by Colin Ian King

[permalink] [raw]
Subject: [PATCH][next] xfrm: Fix spelling mistake "oflload" -> "offload"

There is a spelling mistake in a NL_SET_ERR_MSG message. Fix it.

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

diff --git a/net/xfrm/xfrm_device.c b/net/xfrm/xfrm_device.c
index 3e9e874522a8..4aff76c6f12e 100644
--- a/net/xfrm/xfrm_device.c
+++ b/net/xfrm/xfrm_device.c
@@ -379,7 +379,7 @@ int xfrm_dev_policy_add(struct net *net, struct xfrm_policy *xp,
default:
xdo->dev = NULL;
dev_put(dev);
- NL_SET_ERR_MSG(extack, "Unrecognized oflload direction");
+ NL_SET_ERR_MSG(extack, "Unrecognized offload direction");
return -EINVAL;
}

--
2.38.1


2022-12-07 11:05:42

by Leon Romanovsky

[permalink] [raw]
Subject: Re: [PATCH][next] xfrm: Fix spelling mistake "oflload" -> "offload"

On Wed, Dec 07, 2022 at 09:23:14AM +0000, Colin Ian King wrote:
> There is a spelling mistake in a NL_SET_ERR_MSG message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> net/xfrm/xfrm_device.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Thanks,
Reviewed-by: Leon Romanovsky <[email protected]>

2022-12-09 08:28:24

by Steffen Klassert

[permalink] [raw]
Subject: Re: [PATCH][next] xfrm: Fix spelling mistake "oflload" -> "offload"

On Wed, Dec 07, 2022 at 09:23:14AM +0000, Colin Ian King wrote:
> There is a spelling mistake in a NL_SET_ERR_MSG message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>

Applied to ipsec-next, thanks!