]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: refine set_keyboard_layout() status
authorVincent Stehlé <vincent.stehle@arm.com>
Fri, 6 Jan 2023 09:46:40 +0000 (10:46 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 13 Jan 2023 08:09:07 +0000 (09:09 +0100)
commit65b91a346ebed631494b6ad405dbd91e07157ec4
tree63537deb6a8f49485b154af5ba2967e483d68a39
parent851456693a385be9dc462ba5eb9977ff62e8350c
efi_loader: refine set_keyboard_layout() status

As per the EFI specification, the HII database protocol function
set_keyboard_layout() must return EFI_INVALID_PARAMETER when it is called
with a NULL key_guid argument. Modify the function accordingly to improve
conformance.

Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_hii.c