[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>
This commit is contained in:
parent
aa0e4e4aea
commit
ee2e6841b9
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ static int selinux_xfrm_sec_ctx_alloc(struct xfrm_sec_ctx **ctxp, struct xfrm_us
|
||||||
return rc;
|
return rc;
|
||||||
|
|
||||||
out:
|
out:
|
||||||
*ctxp = 0;
|
*ctxp = NULL;
|
||||||
kfree(ctx);
|
kfree(ctx);
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue