diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-05-23 21:01:30 +0200 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2023-05-25 09:26:19 +0200 |
commit | fd936fd8ac105ba3eb764185e8ba483c789c893e (patch) | |
tree | 907e8b3d4b94534dedc7a17c1f4aea5011d01fc1 /drivers/nvmem/layouts | |
parent | efi/libstub: zboot: Avoid eager evaluation of objcopy flags (diff) | |
download | linux-fd936fd8ac105ba3eb764185e8ba483c789c893e.tar.xz linux-fd936fd8ac105ba3eb764185e8ba483c789c893e.zip |
efi: fix missing prototype warnings
The cper.c file needs to include an extra header, and efi_zboot_entry
needs an extern declaration to avoid these 'make W=1' warnings:
drivers/firmware/efi/libstub/zboot.c:65:1: error: no previous prototype for 'efi_zboot_entry' [-Werror=missing-prototypes]
drivers/firmware/efi/efi.c:176:16: error: no previous prototype for 'efi_attr_is_visible' [-Werror=missing-prototypes]
drivers/firmware/efi/cper.c:626:6: error: no previous prototype for 'cper_estatus_print' [-Werror=missing-prototypes]
drivers/firmware/efi/cper.c:649:5: error: no previous prototype for 'cper_estatus_check_header' [-Werror=missing-prototypes]
drivers/firmware/efi/cper.c:662:5: error: no previous prototype for 'cper_estatus_check' [-Werror=missing-prototypes]
To make this easier, move the cper specific declarations to
include/linux/cper.h.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/nvmem/layouts')
0 files changed, 0 insertions, 0 deletions