]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: add missing const qualifier
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Fri, 22 Oct 2021 11:24:24 +0000 (20:24 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 25 Oct 2021 19:13:06 +0000 (21:13 +0200)
commitf86352eb825a450d298b9c1a2b88c07b523c1039
tree4f6e98146bb53661b828321b998a961ea680fad9
parent8e7791a959b875e3f0c0d3f6099402259beef7b1
efi_loader: add missing const qualifier

This commit fixes the following compilation warning
of boottime->install_configuration_table() function.

lib/efi_selftest/efi_selftest_tcg2.c:475:46:
warning: passing argument 1 of ‘boottime->install_configuration_table’
discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  ret = boottime->install_configuration_table(&smbios_guid, dmi);

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
include/efi_api.h
lib/efi_loader/efi_boottime.c