arm64: efi: add efi_handle_corrupted_x18 prototype
authorArnd Bergmann <arnd@arndb.de>
Tue, 16 May 2023 16:06:35 +0000 (18:06 +0200)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 25 May 2023 16:44:02 +0000 (17:44 +0100)
commitfbc0cd6f60443264af0b7aed050cae2ef38036f9
treeff2f610769310559744a2219b9af31997b2e5f0c
parent68a879b55346588de936c99a04e665d9cdc326e6
arm64: efi: add efi_handle_corrupted_x18 prototype

This functions is only called from assembler and lacks a prototype,
which is seen from this W=1 warning:

arch/arm64/kernel/efi.c:155:25: error: no previous prototype for 'efi_handle_corrupted_x18' [-Werror=missing-prototypes]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20230516160642.523862-9-arnd@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/efi.h