projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
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 5b7776504e4cd7d109c55d27db2d2464d791b533..b2af7ca496c1c925aa75c678565aa07b22559461 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;
}