Skip to content

Commit fbc0cd6

Browse files
arndbctmarinas
authored andcommitted
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 <[email protected]> Reviewed-by: Kees Cook <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent 68a879b commit fbc0cd6

File tree

1 file changed

+2
-0
lines changed
  • arch/arm64/include/asm

1 file changed

+2
-0
lines changed

arch/arm64/include/asm/efi.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,4 +166,6 @@ static inline void efi_capsule_flush_cache_range(void *addr, int size)
166166
dcache_clean_inval_poc((unsigned long)addr, (unsigned long)addr + size);
167167
}
168168

169+
efi_status_t efi_handle_corrupted_x18(efi_status_t s, const char *f);
170+
169171
#endif /* _ASM_EFI_H */

0 commit comments

Comments
 (0)