Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee2e6841 authored by Luiz Capitulino's avatar Luiz Capitulino Committed by David S. Miller
Browse files

[XFRM]: Fix sparse warning.



security/selinux/xfrm.c:155:10: warning: Using plain integer as NULL pointer

Signed-off-by: default avatarLuiz Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent aa0e4e4a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -146,7 +146,7 @@ static int selinux_xfrm_sec_ctx_alloc(struct xfrm_sec_ctx **ctxp, struct xfrm_us
	return rc;

out:
	*ctxp = 0;
	*ctxp = NULL;
	kfree(ctx);
	return rc;
}