summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-08-03 11:26:17 +0300
committerBorislav Petkov (AMD) <bp@alien8.de>2023-08-03 17:40:50 +0300
commit1a3e4b4da39bbf540a379e21869faa74bb19d16f (patch)
tree6c8c51b56f26215bdc035e203108d232307d65d6 /scripts/gdb/linux/proc.py
parent6d33531bc0234332572ae612232d947f353a4450 (diff)
downloadlinux-1a3e4b4da39bbf540a379e21869faa74bb19d16f.tar.xz
x86/alternative: Add a __alt_reloc_selftest() prototype
The newly introduced selftest function causes a warning when -Wmissing-prototypes is enabled: arch/x86/kernel/alternative.c:1461:32: error: no previous prototype for '__alt_reloc_selftest' [-Werror=missing-prototypes] Since it's only used locally, add the prototype directly in front of it. Fixes: 270a69c4485d ("x86/alternative: Support relocations in alternatives") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20230803082619.1369127-6-arnd@kernel.org
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions