aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firmware')
-rw-r--r--drivers/firmware/efivars.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c
index adfc4863202b..36b3dd6e1e5e 100644
--- a/drivers/firmware/efivars.c
+++ b/drivers/firmware/efivars.c
@@ -992,6 +992,8 @@ int efivarfs_fill_super(struct super_block *sb, void *data, int silent)
992 inode = efivarfs_get_inode(efivarfs_sb, root->d_inode, 992 inode = efivarfs_get_inode(efivarfs_sb, root->d_inode,
993 S_IFREG | 0644, 0); 993 S_IFREG | 0644, 0);
994 dentry = d_alloc_name(root, name); 994 dentry = d_alloc_name(root, name);
995 /* copied by the above to local storage in the dentry. */
996 kfree(name);
995 997
996 efivars->ops->get_variable(entry->var.VariableName, 998 efivars->ops->get_variable(entry->var.VariableName,
997 &entry->var.VendorGuid, 999 &entry->var.VendorGuid,