]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: fix EFI_ENTRY point on get_active_pcr_banks
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Thu, 19 Oct 2023 16:21:55 +0000 (11:21 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 27 Oct 2023 20:01:47 +0000 (16:01 -0400)
commit946b311e47da22e409f2b0af5a3930db465e7eb8
treebf12cdd2a2644a42ae7fe960130bb2bd650d32b8
parent526697d01cdfd5a9fdf505e934dd6f5131918c43
efi_loader: fix EFI_ENTRY point on get_active_pcr_banks

efi_tcg2_get_active_pcr_banks doesn't immediately call the
EFI_ENTRY() wrapper once it enters the function. Move the call a
few lines above to cover the error cases properly as well.

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_tcg2.c