2018-11-13 14:24:52

by Colin King

[permalink] [raw]
Subject: [PATCH] af_key: fix indentation on declaration statement

From: Colin Ian King <[email protected]>

There is an indentation issue before the declaration of xfrm_ctx. Remove
spaces and replace with a tab.

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

diff --git a/net/key/af_key.c b/net/key/af_key.c
index 9d61266526e7..655c787f9d54 100644
--- a/net/key/af_key.c
+++ b/net/key/af_key.c
@@ -2020,7 +2020,7 @@ parse_ipsecrequests(struct xfrm_policy *xp, struct sadb_x_policy *pol)

static inline int pfkey_xfrm_policy2sec_ctx_size(const struct xfrm_policy *xp)
{
- struct xfrm_sec_ctx *xfrm_ctx = xp->security;
+ struct xfrm_sec_ctx *xfrm_ctx = xp->security;

if (xfrm_ctx) {
int len = sizeof(struct sadb_x_sec_ctx);
--
2.19.1



2018-11-20 07:58:55

by Steffen Klassert

[permalink] [raw]
Subject: Re: [PATCH] af_key: fix indentation on declaration statement

On Tue, Nov 13, 2018 at 02:23:28PM +0000, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There is an indentation issue before the declaration of xfrm_ctx. Remove
> spaces and replace with a tab.
>
> Signed-off-by: Colin Ian King <[email protected]>

Applied to ipsec-next.