]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: return the correct error in efi_bootmgr_release_uridp()
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Mon, 12 Aug 2024 20:56:38 +0000 (23:56 +0300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 12 Sep 2024 15:32:18 +0000 (17:32 +0200)
commit063b4ed07de41ea688e9f6e2d4168b192243ba58
tree8805be796b9e4ac45bdb151e10e2333fcde99138
parent4a1eeccde6cf4ba9111d0edcd5e36240091b385e
efi_loader: return the correct error in efi_bootmgr_release_uridp()

There's currently a chance for this function to overwrite an error if
one occurred and the subsequent call to
efi_uninstall_multiple_protocol_interfaces() succedded. Although this
is an EFI event and we can't do much let's at least set and return
the correct error

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/efi_loader/efi_bootmgr.c