projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
aa0e4e4
)
[XFRM]: Fix sparse warning.
author
Luiz Capitulino
<lcapitulino@mandriva.com.br>
Sat, 7 Jan 2006 06:59:43 +0000
(22:59 -0800)
committer
David 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
patch
|
blob
|
history
diff --git
a/security/selinux/xfrm.c
b/security/selinux/xfrm.c
index
5b77765
..
b2af7ca
100644
(file)
--- 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;
}