diff options
Diffstat (limited to 'drivers/firmware/efivars.c')
-rw-r--r-- | drivers/firmware/efivars.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c index 6a858d1a5bb3..58cec627a821 100644 --- a/drivers/firmware/efivars.c +++ b/drivers/firmware/efivars.c | |||
@@ -911,7 +911,7 @@ static int efivarfs_create(struct inode *dir, struct dentry *dentry, | |||
911 | 911 | ||
912 | inode = efivarfs_get_inode(dir->i_sb, dir, mode, 0); | 912 | inode = efivarfs_get_inode(dir->i_sb, dir, mode, 0); |
913 | if (!inode) | 913 | if (!inode) |
914 | return -ENOSPC; | 914 | return -ENOMEM; |
915 | 915 | ||
916 | var = kzalloc(sizeof(struct efivar_entry), GFP_KERNEL); | 916 | var = kzalloc(sizeof(struct efivar_entry), GFP_KERNEL); |
917 | if (!var) { | 917 | if (!var) { |