summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-06-29 06:22:07 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-06-29 06:22:07 -0700
commitb3854e9342473c4ec0f7b319d094a405c6dc263a (patch)
tree8e676576a7146ce332cd8a998cee392f45cbd2f5 /net/unix/af_unix.c
parent9ee9887b991748e22f32d18b6756448d0a62a076 (diff)
sparse: get rid of more integer/pointer confusion
Use NULL, not 0, where appropriate.
Diffstat (limited to 'net/unix/af_unix.c')
-rw-r--r--net/unix/af_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c
index e19475e6a0c2..c266bd6fa67a 100644
--- a/net/unix/af_unix.c
+++ b/net/unix/af_unix.c
@@ -2034,7 +2034,7 @@ static int __init af_unix_init(void)
/* allocate our sock slab cache */
unix_sk_cachep = kmem_cache_create("unix_sock",
sizeof(struct unix_sock), 0,
- SLAB_HWCACHE_ALIGN, 0, 0);
+ SLAB_HWCACHE_ALIGN, NULL, NULL);
if (!unix_sk_cachep)
printk(KERN_CRIT
"af_unix_init: Cannot create unix_sock SLAB cache!\n");