From: Luiz Capitulino Date: Sat, 7 Jan 2006 06:59:43 +0000 (-0800) Subject: [XFRM]: Fix sparse warning. X-Git-Tag: MMI-PSA29.97-13-9~53655 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ee2e6841b934d76cb944a3390bbea84da777d4fa;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [XFRM]: Fix sparse warning. security/selinux/xfrm.c:155:10: warning: Using plain integer as NULL pointer Signed-off-by: Luiz Capitulino Signed-off-by: Andrew Morton Signed-off-by: David S. Miller --- diff --git a/security/selinux/xfrm.c b/security/selinux/xfrm.c index 5b7776504e4c..b2af7ca496c1 100644 --- a/security/selinux/xfrm.c +++ b/security/selinux/xfrm.c @@ -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; }