From: kernel test robot <lkp@intel.com>
To: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [jirislaby:devel 12/48] drivers/char/mwave/3780i.c:516:17: warning: variable 'temp' set but not used
Date: Fri, 22 Aug 2025 12:10:44 +0800 [thread overview]
Message-ID: <202508221222.Tc0teO71-lkp@intel.com> (raw)
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
reply other threads:[~2025-08-22 4:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202508221222.Tc0teO71-lkp@intel.com \
--to=lkp@intel.com \
--cc=jirislaby@kernel.org \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.