linux-stable/arch/x86/purgatory
Arnd Bergmann 6d33531bc0 x86/purgatory: Include header for warn() declaration
The purgatory code uses parts of the decompressor and provides its own
warn() function, but has to include the corresponding header file to
avoid a -Wmissing-prototypes warning.

It turns out that this function prototype actually differs from the
declaration, so change it to get a constant pointer in the declaration
and the other definition as well.

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-5-arnd@kernel.org
2023-08-03 16:37:18 +02:00
..
.gitignore x86/purgatory: Fail the build if purgatory.ro has missing symbols 2020-03-17 15:59:12 +01:00
entry64.S x86/asm/purgatory: Start using annotations 2019-10-18 10:48:43 +02:00
kexec-purgatory.S x86/purgatory: Omit use of bin2c 2022-07-25 10:32:32 +02:00
Makefile hardening updates for v6.5-rc1 2023-06-27 21:24:18 -07:00
purgatory.c x86/purgatory: Include header for warn() declaration 2023-08-03 16:37:18 +02:00
setup-x86_64.S x86/asm/purgatory: Start using annotations 2019-10-18 10:48:43 +02:00
stack.S x86/asm/purgatory: Start using annotations 2019-10-18 10:48:43 +02:00