lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202409010207.jrH6sNV4-lkp@intel.com>
Date: Sun, 1 Sep 2024 02:06:30 +0800
From: kernel test robot <lkp@...el.com>
To: Sean Christopherson <seanjc@...gle.com>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
	linux-kernel@...r.kernel.org, Kai Huang <kai.huang@...el.com>
Subject: arch/x86/kernel/reboot.c:939:20: error: unused function
 'nmi_shootdown_cpus_on_restart'

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@...el.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@...gle.com>
:::::: CC: Sean Christopherson <seanjc@...gle.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ