All of lore.kernel.org
 help / color / mirror / Atom feed
* [dwmw2:kexec-debug-cfi 10/10] arch/x86/kernel/machine_kexec_64.c:312:13: warning: 'load_segments' defined but not used
@ 2025-03-26  4:03 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-03-26  4:03 UTC (permalink / raw)
  To: David Woodhouse; +Cc: oe-kbuild-all

tree:   git://git.infradead.org/users/dwmw2/linux kexec-debug-cfi
head:   21e95723aa631b1eb5f618c8cf6061226d2a7d05
commit: 21e95723aa631b1eb5f618c8cf6061226d2a7d05 [10/10] final CFI hacks
config: x86_64-buildonly-randconfig-002-20250326 (https://download.01.org/0day-ci/archive/20250326/202503261144.q36i9bPk-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250326/202503261144.q36i9bPk-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/202503261144.q36i9bPk-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> arch/x86/kernel/machine_kexec_64.c:312:13: warning: 'load_segments' defined but not used [-Wunused-function]
     312 | static void load_segments(void)
         |             ^~~~~~~~~~~~~


vim +/load_segments +312 arch/x86/kernel/machine_kexec_64.c

5234f5eb04abbbf arch/x86_64/kernel/machine_kexec.c Eric W. Biederman 2005-06-25  311  
5234f5eb04abbbf arch/x86_64/kernel/machine_kexec.c Eric W. Biederman 2005-06-25 @312  static void load_segments(void)
5234f5eb04abbbf arch/x86_64/kernel/machine_kexec.c Eric W. Biederman 2005-06-25  313  {
5234f5eb04abbbf arch/x86_64/kernel/machine_kexec.c Eric W. Biederman 2005-06-25  314  	__asm__ __volatile__ (
36c4fd23cc06f81 arch/x86_64/kernel/machine_kexec.c Eric W. Biederman 2005-07-29  315  		"\tmovl %0,%%ds\n"
36c4fd23cc06f81 arch/x86_64/kernel/machine_kexec.c Eric W. Biederman 2005-07-29  316  		"\tmovl %0,%%es\n"
36c4fd23cc06f81 arch/x86_64/kernel/machine_kexec.c Eric W. Biederman 2005-07-29  317  		"\tmovl %0,%%ss\n"
36c4fd23cc06f81 arch/x86_64/kernel/machine_kexec.c Eric W. Biederman 2005-07-29  318  		"\tmovl %0,%%fs\n"
36c4fd23cc06f81 arch/x86_64/kernel/machine_kexec.c Eric W. Biederman 2005-07-29  319  		"\tmovl %0,%%gs\n"
2ec5e3a867d63d0 arch/x86_64/kernel/machine_kexec.c Michael Matz      2006-03-07  320  		: : "a" (__KERNEL_DS) : "memory"
5234f5eb04abbbf arch/x86_64/kernel/machine_kexec.c Eric W. Biederman 2005-06-25  321  		);
5234f5eb04abbbf arch/x86_64/kernel/machine_kexec.c Eric W. Biederman 2005-06-25  322  }
5234f5eb04abbbf arch/x86_64/kernel/machine_kexec.c Eric W. Biederman 2005-06-25  323  

:::::: The code at line 312 was first introduced by commit
:::::: 5234f5eb04abbbfa306ccfbc2ccbb6e73f515b15 [PATCH] kexec: x86_64 kexec implementation

:::::: TO: Eric W. Biederman <ebiederm@xmission.com>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

-- 
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:[~2025-03-26  4:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-26  4:03 [dwmw2:kexec-debug-cfi 10/10] arch/x86/kernel/machine_kexec_64.c:312:13: warning: 'load_segments' defined but not used 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.