]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: add missing const classifier for event service
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Fri, 10 Nov 2023 04:25:38 +0000 (13:25 +0900)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Sat, 18 Nov 2023 08:08:09 +0000 (10:08 +0200)
commite23c8e81ebc97bbe9d4037b1324994446c2bc6c4
tree074cb5776a2c7a1d841148f8ce4fc21678d8b2a2
parent550862bc1279278a029c8c17871a0c6241c522d8
efi_loader: add missing const classifier for event service

const classifier is missing in EventGroup parameter of
CreateEventEx(). Fix it to remove the compiler warning.

NotifyContext parameter of CreateEventEx() is also defined
with const in UEFI specification, but NotifyContext parameter
of CreateEvent() is defined without const.
Since current implementation calls the common efi_create_event()
function from both CreateEventEx() and CreateEvent() services,
NotifyContext parameter leaves as is.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
include/efi_api.h
include/efi_loader.h
lib/efi_loader/efi_boottime.c