arch/x86/kernel/cpu/mce/p5.c:47:13: warning: variable 'q' set but not used
kernel test robot
build botHi Juergen,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/msr head: 3e8ca6691e9d6695e36cafa84217bb8b955face1 commit: cff219368bd066d67cc66e8fcdd2c4b13f5101ce [2/10] x86/mce: Stop using 32-bit MSR interfaces config: i386-randconfig-003-20260703 (https://download.01.org/0day-ci/archive/20260703/[email protected]/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260703/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
arch/x86/kernel/cpu/mce/p5.c: In function 'intel_p5_mcheck_init':
>> arch/x86/kernel/cpu/mce/p5.c:47:13: warning: variable 'q' set but not used [-Wunused-but-set-variable]
47 | u64 q;
| ^vim +/q +47 arch/x86/kernel/cpu/mce/p5.c
43
44 /* Set up machine check reporting for processors with Intel style MCE: */
45 void intel_p5_mcheck_init(struct cpuinfo_x86 *c)
46 {
> 47 u64 q;--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki