Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d05a3921 authored by Dan Carpenter's avatar Dan Carpenter Committed by Sasha Levin
Browse files

efi: efivar_create_sysfs_entry() should return negative error codes



[ Upstream commit f7ef7e3e506023f826c1ee60b7e59b985316e180 ]

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>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent dc1351fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment