]> git.baikalelectronics.ru Git - uboot.git/commit
efi_driver: fix efi_uc_stop()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 7 Oct 2022 21:53:38 +0000 (23:53 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 10 Oct 2022 14:34:25 +0000 (16:34 +0200)
commit3d131c11ae8298425c6ffa780f06d4c2adee9508
treef089f0e030bf4459853fdd1f24517b6fe6b2365f
parent83b6f15733a2ab4b3aff8df721d49d33d29814a3
efi_driver: fix efi_uc_stop()

We must always call EFI_EXIT() when returning from an EFIAPI function.

Fixes: f648e6c7b04f ("efi_driver: EFI block driver")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_driver/efi_uclass.c