Commit 085d07cd3b8c9a12d5a02c13b56ab92436c062ba
Committed by
Alexander Graf
1 parent
2edab5e2e6
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
efi_loader: argument of efi_search_obj should be const
The argument of efi_search_obj is not changed so it should be marked as const. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff
include/efi_loader.h
... | ... | @@ -195,7 +195,7 @@ |
195 | 195 | /* Create handle */ |
196 | 196 | efi_status_t efi_create_handle(void **handle); |
197 | 197 | /* Call this to validate a handle and find the EFI object for it */ |
198 | -struct efi_object *efi_search_obj(void *handle); | |
198 | +struct efi_object *efi_search_obj(const void *handle); | |
199 | 199 | /* Call this to create an event */ |
200 | 200 | efi_status_t efi_create_event(uint32_t type, efi_uintn_t notify_tpl, |
201 | 201 | void (EFIAPI *notify_function) ( |
lib/efi_loader/efi_boottime.c