Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [ulfh-pm:next 12/12] drivers/pmdomain/core.c:36:23: warning: unused variable 'genpd_provider_bus'
@ 2026-06-11 11:35 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-11 11:35 UTC (permalink / raw)
  To: Johan Hovold; +Cc: llvm, oe-kbuild-all, Ulf Hansson

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm.git next
head:   ea1ca762328194de780a8e92df0b2e41bf6eeed2
commit: ea1ca762328194de780a8e92df0b2e41bf6eeed2 [12/12] pmdomain: fix early domain registration
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260611/202606111303.XQpgfuC7-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project f43d6834093b19baf79beda8c0337ab020ac5f17)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260611/202606111303.XQpgfuC7-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/202606111303.XQpgfuC7-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/pmdomain/core.c:36:23: warning: unused variable 'genpd_provider_bus' [-Wunused-variable]
      36 | static struct device *genpd_provider_bus;
         |                       ^~~~~~~~~~~~~~~~~~
   1 warning generated.


vim +/genpd_provider_bus +36 drivers/pmdomain/core.c

31cb75077003ac Ulf Hansson  2025-07-01  34  
31cb75077003ac Ulf Hansson  2025-07-01  35  /* The parent for genpd_provider devices. */
a96e40f4afdcb5 Johan Hovold 2026-04-24 @36  static struct device *genpd_provider_bus;
31cb75077003ac Ulf Hansson  2025-07-01  37  

:::::: The code at line 36 was first introduced by commit
:::::: a96e40f4afdcb52a9c97a5465c964e010734d105 pmdomain: core: switch to dynamic root device

:::::: TO: Johan Hovold <johan@kernel.org>
:::::: CC: Ulf Hansson <ulfh@kernel.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:[~2026-06-11 11:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-11 11:35 [ulfh-pm:next 12/12] drivers/pmdomain/core.c:36:23: warning: unused variable 'genpd_provider_bus' 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