* [intel-tdx:guest-kexec 1/8] arch/x86/kernel/acpi/boot.c:1186:2: error: call to undeclared function 'cpu_hotplug_not_supported'; ISO C99 and later do not support implicit function declarations
@ 2023-08-23 12:18 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-23 12:18 UTC (permalink / raw)
To: Kirill A. Shutemov; +Cc: llvm, oe-kbuild-all
tree: https://github.com/intel/tdx.git guest-kexec
head: 7d7a8fcef30fe2515b3cce811bd7b96a14e2a75f
commit: 602cc233a076ee5e78eb0bf5bc5e0519ecc15676 [1/8] cpu/hotplug, x86/acpi: Disable CPU hotplug for ACPI MADT wakeup
config: x86_64-randconfig-073-20230823 (https://download.01.org/0day-ci/archive/20230823/202308232008.WJtnOzai-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce: (https://download.01.org/0day-ci/archive/20230823/202308232008.WJtnOzai-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202308232008.WJtnOzai-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/x86/kernel/acpi/boot.c:1186:2: error: call to undeclared function 'cpu_hotplug_not_supported'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
cpu_hotplug_not_supported();
^
1 error generated.
vim +/cpu_hotplug_not_supported +1186 arch/x86/kernel/acpi/boot.c
1167
1168 #ifdef CONFIG_X86_64
1169 static int __init acpi_parse_mp_wake(union acpi_subtable_headers *header,
1170 const unsigned long end)
1171 {
1172 struct acpi_madt_multiproc_wakeup *mp_wake;
1173
1174 if (!IS_ENABLED(CONFIG_SMP))
1175 return -ENODEV;
1176
1177 mp_wake = (struct acpi_madt_multiproc_wakeup *)header;
1178 if (BAD_MADT_ENTRY(mp_wake, end))
1179 return -EINVAL;
1180
1181 acpi_table_print_madt_entry(&header->common);
1182
1183 acpi_mp_wake_mailbox_paddr = mp_wake->base_address;
1184
1185 /* Disable CPU onlining/offlining */
> 1186 cpu_hotplug_not_supported();
1187
1188 acpi_wake_cpu_handler_update(acpi_wakeup_cpu);
1189
1190 return 0;
1191 }
1192 #endif /* CONFIG_X86_64 */
1193 #endif /* CONFIG_X86_LOCAL_APIC */
1194
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-08-23 12:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-23 12:18 [intel-tdx:guest-kexec 1/8] arch/x86/kernel/acpi/boot.c:1186:2: error: call to undeclared function 'cpu_hotplug_not_supported'; ISO C99 and later do not support implicit function declarations kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.