diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-05-16 18:06:42 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2023-05-25 17:44:03 +0100 |
commit | c152aed4dcc21e6d496e700148fdd85c2b0ff09c (patch) | |
tree | fde43b2ea1398828047e7eba6d666627deb2364e /arch/arm64/kernel/signal.c | |
parent | e13d32e99264e0b63b01417e2f2db627f4507b97 (diff) |
arm64: add alt_cb_patch_nops prototype
alt_cb_patch_nops() is called through an inline asm macro, so
it does not need a prototype for the caller, but adding it
avoids this W=1 build warning:
arch/arm64/kernel/alternative.c:295:14: error: no previous prototype for 'alt_cb_patch_nops' [-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-16-arnd@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/signal.c')
0 files changed, 0 insertions, 0 deletions