linux-stable/arch
Yuntao Wang 43132282d8 x86/kexec: use pr_err() instead of kexec_dprintk() when an error occurs
When detecting an error, the current code uses kexec_dprintk() to output
log message. This is not quite appropriate as kexec_dprintk() is mainly
used for outputting debugging messages, rather than error messages.

Replace kexec_dprintk() with pr_err(). This also makes the output method
for this error log align with the output method for other error logs in
this function.

Additionally, the last return statement in set_page_address() is
unnecessary, remove it.

Link: https://lkml.kernel.org/r/20231220030124.149160-1-ytcoode@gmail.com
Signed-off-by: Yuntao Wang <ytcoode@gmail.com>
Cc: Baoquan He <bhe@redhat.com>
Cc: Borislav Petkov (AMD) <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-12-29 12:22:28 -08:00
..
alpha arch: turn off -Werror for architectures with known warnings 2023-12-10 17:21:33 -08:00
arc kprobes: unify kprobes_exceptions_nofify() prototypes 2023-11-10 19:59:05 +09:00
arm Merge branch 'master' into mm-hotfixes-stable 2023-12-06 17:03:50 -08:00
arm64 kexec_file, arm64: print out debugging message if required 2023-12-20 15:02:57 -08:00
csky Kbuild updates for v6.7 2023-11-04 08:07:19 -10:00
hexagon hexagon: traps: add internal prototypes for functions only called from asm 2023-12-10 17:21:37 -08:00
loongarch loongarch, kexec: change dependency of object files 2023-12-12 17:20:17 -08:00
m68k m68k, kexec: fix the incorrect ifdeffery and build dependency of CONFIG_KEXEC 2023-12-12 17:20:17 -08:00
microblaze asm-generic updates for v6.7 2023-11-01 15:28:33 -10:00
mips mips: fix r3k_cache_init build regression 2023-12-20 15:02:57 -08:00
nios2 vgacon, arch/*: remove unused screen_info definitions 2023-10-17 10:17:02 +02:00
openrisc
parisc kexec_file, parisc: print out debugging message if required 2023-12-20 15:02:57 -08:00
powerpc kexec_file, power: print out debugging message if required 2023-12-20 15:02:57 -08:00
riscv riscv, kexec: fix the ifdeffery for AFLAGS_kexec_relocate.o 2023-12-20 15:02:57 -08:00
s390 s390/traps: only define is_valid_bugaddr() under CONFIG_GENERIC_BUG 2023-12-10 17:21:38 -08:00
sh sh, kexec: fix the incorrect ifdeffery and dependency of CONFIG_KEXEC 2023-12-12 17:20:18 -08:00
sparc arch: turn off -Werror for architectures with known warnings 2023-12-10 17:21:33 -08:00
um
x86 x86/kexec: use pr_err() instead of kexec_dprintk() when an error occurs 2023-12-29 12:22:28 -08:00
xtensa TTY/Serial changes for 6.7-rc1 2023-11-03 15:44:25 -10:00
.gitignore
Kconfig arch: remove ARCH_TASK_STRUCT_ON_STACK 2023-12-10 17:21:31 -08:00