commit | fa390e6b252011fb913aa633a41e8d8b6208150e | [log] [tgz] |
---|---|---|
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | Tue Apr 20 10:03:16 2021 +0900 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Apr 24 06:53:40 2021 +0200 |
tree | e4f40d81b50610d6b3a6bd0f5046e08288851d7b | |
parent | af886ceb498b0501f5ea333574dd64218895dab4 [diff] |
efi_loader: capsule: return a correct error code at find_boot_device() In case of failure at efi_get_variable_int("BootOrder"), we should skip examining boot option variables and return an appropriate error code which is the one the function returned. Fixes: CID 331153 Code maintainability issues (UNUSED_VALUE) Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>