]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: use EFI_EXIT in efi_riscv_get_boot_hartid
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 11 Jan 2023 18:08:01 +0000 (19:08 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 13 Jan 2023 08:09:07 +0000 (09:09 +0100)
commit851456693a385be9dc462ba5eb9977ff62e8350c
treefe77bb4a6ab24846674b9669951d67087ee55ac8
parent7e808fcc97ff3fe2f16d178e34f9811368696276
efi_loader: use EFI_EXIT in efi_riscv_get_boot_hartid

After calling EFI_ENTRY we have to call EFI_EXIT before returning.

Add a missing EFI_EXIT().

Fixes: 1ccf87165e38 ("efi_loader: Enable RISCV_EFI_BOOT_PROTOCOL support")
Reported-by: Dave Jones <dave.jones@canonical.com>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
lib/efi_loader/efi_riscv.c