llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [jirislaby:devel 12/48] drivers/char/mwave/3780i.c:516:17: warning: variable 'temp' set but not used
@ 2025-08-22  4:10 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-08-22  4:10 UTC (permalink / raw)
  To: Jiri Slaby (SUSE); +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head:   0926f0595441527a1b067314368d6b4afd949a09
commit: b2c762cc6cdcc18426a8a17cb0c6d7f765a869f0 [12/48] mwave: remove tracing
config: x86_64-buildonly-randconfig-003-20250822 (https://download.01.org/0day-ci/archive/20250822/202508221222.Tc0teO71-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250822/202508221222.Tc0teO71-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/202508221222.Tc0teO71-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/char/mwave/3780i.c:516:17: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
     516 |         unsigned short temp;
         |                        ^
   1 warning generated.


vim +/temp +516 drivers/char/mwave/3780i.c

^1da177e4c3f41 Linus Torvalds  2005-04-16  509  
^1da177e4c3f41 Linus Torvalds  2005-04-16  510  
^1da177e4c3f41 Linus Torvalds  2005-04-16  511  int dsp3780I_GetIPCSource(unsigned short usDspBaseIO,
^1da177e4c3f41 Linus Torvalds  2005-04-16  512                            unsigned short *pusIPCSource)
^1da177e4c3f41 Linus Torvalds  2005-04-16  513  {
ae6b95d4d86565 Alexey Dobriyan 2007-02-20  514  	unsigned long flags;
^1da177e4c3f41 Linus Torvalds  2005-04-16  515  	DSP_HBRIDGE_CONTROL rHBridgeControl;
^1da177e4c3f41 Linus Torvalds  2005-04-16 @516  	unsigned short temp;

:::::: The code at line 516 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: 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-08-22  4:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-22  4:10 [jirislaby:devel 12/48] drivers/char/mwave/3780i.c:516:17: warning: variable 'temp' set but not used 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;
as well as URLs for NNTP newsgroup(s).