diff options
author | Matt Fleming <matt.fleming@intel.com> | 2012-10-16 14:58:07 (GMT) |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2012-10-30 10:39:25 (GMT) |
commit | 7253eaba7b179db2e07e67c5b78d5f10b332291d (patch) | |
tree | e233e80b8601446d75fe85d0f5acf9736502848e /security | |
parent | 310ad75448329f167af3c4a10e4a9de4d80058ff (diff) | |
download | linux-7253eaba7b179db2e07e67c5b78d5f10b332291d.tar.xz |
efivarfs: Return an error if we fail to read a variable
Instead of always returning 0 in efivarfs_file_read(), even when we
fail to successfully read the variable, convert the EFI status to
something meaningful and return that to the caller. This way the user
will have some hint as to why the read failed.
Acked-by: Jeremy Kerr <jeremy.kerr@canonical.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions