mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 14:38:58 +00:00
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>
This commit is contained in:
parent
526697d01c
commit
946b311e47
1 changed files with 2 additions and 1 deletions
|
@ -1211,12 +1211,13 @@ efi_tcg2_get_active_pcr_banks(struct efi_tcg2_protocol *this,
|
|||
{
|
||||
efi_status_t ret;
|
||||
|
||||
EFI_ENTRY("%p, %p", this, active_pcr_banks);
|
||||
|
||||
if (!this || !active_pcr_banks) {
|
||||
ret = EFI_INVALID_PARAMETER;
|
||||
goto out;
|
||||
}
|
||||
|
||||
EFI_ENTRY("%p, %p", this, active_pcr_banks);
|
||||
ret = __get_active_pcr_banks(active_pcr_banks);
|
||||
|
||||
out:
|
||||
|
|
Loading…
Add table
Reference in a new issue