Skip to content
Commit f7ef7e3e authored by Dan Carpenter's avatar Dan Carpenter Committed by Matt Fleming
Browse files

efi: efivar_create_sysfs_entry() should return negative error codes



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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarMatt Fleming <matt.fleming@intel.com>
parent b787f68c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment