aboutsummaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/splat/splat-kmem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/splat/splat-kmem.c b/module/splat/splat-kmem.c
index c57e280b0..35718e2f8 100644
--- a/module/splat/splat-kmem.c
+++ b/module/splat/splat-kmem.c
@@ -548,6 +548,7 @@ splat_kmem_cache_test(struct file *file, void *arg, char *name,
return -ENOMEM;
}
+ kcp->kcp_kcd[0] = NULL;
kcp->kcp_cache =
kmem_cache_create(SPLAT_KMEM_CACHE_NAME,
kcp->kcp_size, kcp->kcp_align,