diff options
author | Tom Rini <trini@konsulko.com> | 2023-01-13 08:37:32 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-13 08:37:32 -0500 |
commit | b3f6e0ff1fe48fe56809ff85dc22c555bfc81035 (patch) | |
tree | 7f9b9fd1ea891ab80fee97683738dbcb7be35c65 /lib/efi_loader/efi_hii.c | |
parent | 87c9e117bf57d6bb42c5521a3f6ec9ca7d97e5fa (diff) | |
parent | 8e4ec3e947d47b1af04b3b913cdf55882c0e728e (diff) |
Merge tag 'efi-2023-04-rc1' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request for efi-2023-04-rc1
Documentation:
* build infodocs target on Gitlab CI, Azure
UEFI:
* fix function descriptions
* add .rela sections to .text on arm64
* use EFI_EXIT in efi_riscv_get_boot_hartid
* improve specification conformance of set_keyboard_layout()
Diffstat (limited to 'lib/efi_loader/efi_hii.c')
-rw-r--r-- | lib/efi_loader/efi_hii.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/efi_loader/efi_hii.c b/lib/efi_loader/efi_hii.c index 27db3be6a1..3b54ecb11a 100644 --- a/lib/efi_loader/efi_hii.c +++ b/lib/efi_loader/efi_hii.c @@ -758,6 +758,9 @@ set_keyboard_layout(const struct efi_hii_database_protocol *this, { EFI_ENTRY("%p, %pUs", this, key_guid); + if (!key_guid) + return EFI_EXIT(EFI_INVALID_PARAMETER); + return EFI_EXIT(EFI_NOT_FOUND); } |