On Sat, 2025-01-25 at 09:38 +0800, kernel test robot wrote: > > In file included from arch/x86/kernel/early_printk.c:4: > In file included from include/linux/kexec.h:18: > In file included from include/linux/vmcore_info.h:6: > In file included from include/linux/elfcore.h:11: > In file included from include/linux/ptrace.h:10: > In file included from include/linux/pid_namespace.h:7: > In file included from include/linux/mm.h:2223: > include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] > 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" > | ~~~~~~~~~~~ ^ ~~~ I don't believe that one's mine. > > > arch/x86/kernel/early_printk.c:148:3: error: use of undeclared identifier 'kexec_debug_8250_port' > 148 | kexec_debug_8250_port = early_serial_base; > | ^ > 1 warning and 1 error generated. That one is though; turns out I was allowing CONFIG_KEXEC_DEBUG to be set without KEXEC_CORE. Rolling this into the next revision: --- a/kernel/Kconfig.kexec +++ b/kernel/Kconfig.kexec @@ -100,7 +100,7 @@ config KEXEC_JUMP config KEXEC_DEBUG bool "Debug kexec transition" - depends on HAVE_KEXEC_DEBUG + depends on HAVE_KEXEC_DEBUG && KEXEC_CORE help Faults during kexec can be difficult to debug. This installs exception handlers and attempts to report faults. On x86_64 this would use the
<<attachment: smime.p7s>>