diff mbox series

[next] xfrm: Fix spelling mistake "oflload" -> "offload"

Message ID 20221207092314.2279009-1-colin.i.king@gmail.com (mailing list archive)
State Awaiting Upstream
Delegated to: Netdev Maintainers
Headers show
Series [next] xfrm: Fix spelling mistake "oflload" -> "offload" | expand

Checks

Context Check Description
netdev/tree_selection success Guessing tree name failed - patch did not apply

Commit Message

Colin Ian King Dec. 7, 2022, 9:23 a.m. UTC
There is a spelling mistake in a NL_SET_ERR_MSG message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 net/xfrm/xfrm_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Leon Romanovsky Dec. 7, 2022, 10:37 a.m. UTC | #1
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 <colin.i.king@gmail.com>
> ---
>  net/xfrm/xfrm_device.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Thanks,
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Steffen Klassert Dec. 9, 2022, 8:12 a.m. UTC | #2
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 <colin.i.king@gmail.com>

Applied to ipsec-next, thanks!
diff mbox series

Patch

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;
 	}