]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[XFRM]: Fix sparse warning.
authorLuiz Capitulino <lcapitulino@mandriva.com.br>
Sat, 7 Jan 2006 06:59:43 +0000 (22:59 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sat, 7 Jan 2006 20:57:27 +0000 (12:57 -0800)
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>
security/selinux/xfrm.c

index 5b7776504e4cd7d109c55d27db2d2464d791b533..b2af7ca496c1c925aa75c678565aa07b22559461 100644 (file)
@@ -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;
 }