mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* arch/x86/kernel/reboot.c:939:20: error: unused function 'nmi_shootdown_cpus_on_restart'
@ 2024-08-31 18:06 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-08-31 18:06 UTC (permalink / raw)
  To: Sean Christopherson; +Cc: llvm, oe-kbuild-all, linux-kernel, Kai Huang

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   1934261d897467a924e2afd1181a74c1cbfa2c1d
commit: 261cd5ed934e6923187cf1c9eaa6cb63f2b81212 x86/reboot: Expose VMCS crash hooks if and only if KVM_{INTEL,AMD} is enabled
date:   1 year, 1 month ago
config: x86_64-sof-customedconfig-amd-defconfig (https://download.01.org/0day-ci/archive/20240901/202409010207.jrH6sNV4-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240901/202409010207.jrH6sNV4-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/202409010207.jrH6sNV4-lkp@intel.com/

All errors (new ones prefixed by >>):

>> arch/x86/kernel/reboot.c:939:20: error: unused function 'nmi_shootdown_cpus_on_restart' [-Werror,-Wunused-function]
     939 | static inline void nmi_shootdown_cpus_on_restart(void)
         |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1 error generated.


vim +/nmi_shootdown_cpus_on_restart +939 arch/x86/kernel/reboot.c

26044aff37a5455 Sean Christopherson 2022-11-30  938  
26044aff37a5455 Sean Christopherson 2022-11-30 @939  static inline void nmi_shootdown_cpus_on_restart(void)
26044aff37a5455 Sean Christopherson 2022-11-30  940  {
26044aff37a5455 Sean Christopherson 2022-11-30  941  	if (!crash_ipi_issued)
26044aff37a5455 Sean Christopherson 2022-11-30  942  		nmi_shootdown_cpus(NULL);
2ddded213895e41 Eduardo Habkost     2008-11-12  943  }
58c5661f2144c08 Hidehiro Kawai      2015-12-14  944  

:::::: The code at line 939 was first introduced by commit
:::::: 26044aff37a5455b19a91785086914fd33053ef4 x86/crash: Disable virt in core NMI crash handler to avoid double shootdown

:::::: TO: Sean Christopherson <seanjc@google.com>
:::::: CC: Sean Christopherson <seanjc@google.com>

-- 
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:[~2024-08-31 18:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-31 18:06 arch/x86/kernel/reboot.c:939:20: error: unused function 'nmi_shootdown_cpus_on_restart' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®