All of lore.kernel.org
 help / color / mirror / Atom feed
* [tip:x86/msr 2/10] arch/x86/kernel/cpu/mce/p5.c:47:13: warning: variable 'q' set but not used
@ 2026-07-03  2:36 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-07-03  2:36 UTC (permalink / raw)
  To: Juergen Gross; +Cc: oe-kbuild-all, linux-kernel, x86, Ingo Molnar

Hi 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-2006-20250825 (https://download.01.org/0day-ci/archive/20260703/202607030445.3DieyC3u-lkp@intel.com/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/202607030445.3DieyC3u-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/202607030445.3DieyC3u-lkp@intel.com/

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tip:x86/msr 2/10] arch/x86/kernel/cpu/mce/p5.c:47:13: warning: variable 'q' set but not used
@ 2026-07-03  9:31 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-07-03  9:31 UTC (permalink / raw)
  To: Juergen Gross; +Cc: oe-kbuild-all, linux-kernel, x86, Ingo Molnar

Hi 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/202607031726.ZOwu4snu-lkp@intel.com/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/202607031726.ZOwu4snu-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/202607031726.ZOwu4snu-lkp@intel.com/

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-03  9:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-03  2:36 [tip:x86/msr 2/10] arch/x86/kernel/cpu/mce/p5.c:47:13: warning: variable 'q' set but not used kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2026-07-03  9:31 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.