Message ID | 1432654896-28478-41-git-send-email-kamal@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/fs/efivarfs/super.c b/fs/efivarfs/super.c index 6dad117..7b9efb9 100644 --- a/fs/efivarfs/super.c +++ b/fs/efivarfs/super.c @@ -121,7 +121,7 @@ static int efivarfs_callback(efi_char16_t *name16, efi_guid_t vendor, int len, i; int err = -ENOMEM; - entry = kmalloc(sizeof(*entry), GFP_KERNEL); + entry = kzalloc(sizeof(*entry), GFP_KERNEL); if (!entry) return err;