aboutsummaryrefslogtreecommitdiffstats
path: root/module/os/linux/spl/spl-vmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/os/linux/spl/spl-vmem.c')
-rw-r--r--module/os/linux/spl/spl-vmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/os/linux/spl/spl-vmem.c b/module/os/linux/spl/spl-vmem.c
index e1a84a911..a2630ecdd 100644
--- a/module/os/linux/spl/spl-vmem.c
+++ b/module/os/linux/spl/spl-vmem.c
@@ -50,7 +50,7 @@ EXPORT_SYMBOL(zio_arena);
size_t
vmem_size(vmem_t *vmp, int typemask)
{
- spl_kmem_cache_t *skc;
+ spl_kmem_cache_t *skc = NULL;
size_t alloc = VMEM_FLOOR_SIZE;
if ((typemask & VMEM_ALLOC) && (typemask & VMEM_FREE))