summaryrefslogtreecommitdiffstats
path: root/security/selinux
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@mandriva.com.br>2006-01-07 07:59:43 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-01-07 21:57:27 +0100
commitee2e6841b934d76cb944a3390bbea84da777d4fa (patch)
tree839c2a904647d220d5188e942240b22a24403990 /security/selinux
parent[DCCP]: ipv6.c needs net/ip6_checksum.c (diff)
downloadlinux-ee2e6841b934d76cb944a3390bbea84da777d4fa.tar.xz
linux-ee2e6841b934d76cb944a3390bbea84da777d4fa.zip
[XFRM]: Fix sparse warning.
security/selinux/xfrm.c:155:10: warning: Using plain integer as NULL pointer Signed-off-by: Luiz Capitulino <lcapitulino@mandriva.com.br> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/selinux')
-rw-r--r--security/selinux/xfrm.c2
1 files changed, 1 insertions, 1 deletions
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;
}