]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: treat UEFI variable name as const
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 9 Sep 2021 05:12:14 +0000 (07:12 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 25 Oct 2021 19:13:06 +0000 (21:13 +0200)
commitd47671c631c3f3f3bbf0a33f6bf8afeebfe8c091
tree1539f8fbd8cda2d00ada509b904dd88b2324aa3e
parent7a6fb28c8e4b03bc37b05936ae5fa4c16c278520
efi_loader: treat UEFI variable name as const

UEFI variable names are typically constants and hence should be defined as
const. Unfortunately some of our API functions do not define the parameters
for UEFI variable names as const. This requires unnecessary conversions.

Adjust parameters of several internal functions to tre UEFI variable names
as const.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
include/efi_loader.h
include/efi_variable.h
lib/efi_loader/efi_tcg2.c
lib/efi_loader/efi_var_common.c
lib/efi_loader/efi_var_mem.c
lib/efi_loader/efi_variable.c
lib/efi_loader/efi_variable_tee.c