mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-24 19:10:26 +00:00
efi: efivar_create_sysfs_entry() should return negative error codes
[ Upstream commit f7ef7e3e50 ]
It's not very normal to return 1 on failure and 0 on success. There
isn't a reason for it here, the callers don't care so long as it's
non-zero on failure.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
parent
809f952a39
commit
973fc47992
1 changed files with 6 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue