From: kernel test robot <lkp@intel.com>
To: Drew Fustini <fustini@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Adrien Ricciardi <aricciardi@baylibre.com>
Subject: [fustini:cbqri-cache-alloc-dt 6/9] drivers/resctrl/cbqri_resctrl.c:760:25: warning: variable 'cbqri_cpuhp_state' set but not used
Date: Thu, 18 Jun 2026 03:23:56 +0800 [thread overview]
Message-ID: <202606180357.Sg4Ghszc-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/fustini/linux.git cbqri-cache-alloc-dt
head: 0dcf47d709583f17b82dac6c73d3c8c98903438d
commit: 22e84e93d007cadb6ad0d51a830ab3a9cefabf65 [6/9] riscv_cbqri: resctrl: Add cache allocation via capacity block mask
config: riscv-allyesconfig (https://download.01.org/0day-ci/archive/20260618/202606180357.Sg4Ghszc-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project e19d1f51a2c80b63cd8ca95bcc757b7077112808)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260618/202606180357.Sg4Ghszc-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/202606180357.Sg4Ghszc-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/resctrl/cbqri_resctrl.c:760:25: warning: variable 'cbqri_cpuhp_state' set but not used [-Wunused-but-set-global]
760 | static enum cpuhp_state cbqri_cpuhp_state;
| ^
1 warning generated.
vim +/cbqri_cpuhp_state +760 drivers/resctrl/cbqri_resctrl.c
758
759 /* Saved cpuhp slot from cpuhp_setup_state() for symmetric removal. */
> 760 static enum cpuhp_state cbqri_cpuhp_state;
761
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-06-17 19:24 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=202606180357.Sg4Ghszc-lkp@intel.com \
--to=lkp@intel.com \
--cc=aricciardi@baylibre.com \
--cc=fustini@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox