[masneyb:clk-misc-round-two-for-v7.3 45/45] drivers/pmdomain/core.c:3554:34: warning: 'idle_state_match' defined but not used
kernel test robot <[email protected]> Thu, 30 Jul 2026 00:50:30 +0800
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://github.com/masneyb/linux clk-misc-round-two-for-v7.3 head: e2eec03ed313a8180ebe4eb9e32a6b8429f804a5 commit: e2eec03ed313a8180ebe4eb9e32a6b8429f804a5 [45/45] clk: mediatek: Add mt8173-mfgtop driver config: x86_64-buildonly-randconfig-004-20260729 (https://download.01.org/0day-ci/archive/20260730/[email protected]/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/20260730/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All warnings (new ones prefixed by >>): >> drivers/pmdomain/core.c:3554:34: warning: 'idle_state_match' defined but not used [-Wunused-const-variable=] 3554 | static const struct of_device_id idle_state_match[] = { | ^~~~~~~~~~~~~~~~ Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for PM_GENERIC_DOMAINS_OF Depends on [n]: PM_GENERIC_DOMAINS [=y] && OF [=n] Selected by [y]: - COMMON_CLK_MT8173_MFGTOP [=y] && COMMON_CLK [=y] && (ARCH_MEDIATEK || COMPILE_TEST [=y]) && COMMON_CLK_MT8173 [=y] && PM [=y] vim +/idle_state_match +3554 drivers/pmdomain/core.c 5d6be70add65e3 drivers/base/power/domain.c Ulf Hansson 2018-06-29 3553 30f604283e05d3 drivers/base/power/domain.c Lina Iyer 2016-10-14 @3554 static const struct of_device_id idle_state_match[] = { 598da548ef7892 drivers/base/power/domain.c Lina Iyer 2016-11-03 3555 { .compatible = "domain-idle-state", }, 30f604283e05d3 drivers/base/power/domain.c Lina Iyer 2016-10-14 3556 { } 30f604283e05d3 drivers/base/power/domain.c Lina Iyer 2016-10-14 3557 }; 30f604283e05d3 drivers/base/power/domain.c Lina Iyer 2016-10-14 3558 :::::: The code at line 3554 was first introduced by commit :::::: 30f604283e05d34cb10108c7ba017e5f4fc9d62c PM / Domains: Allow domain power states to be read from DT :::::: TO: Lina Iyer <[email protected]> :::::: CC: Rafael J. Wysocki <[email protected]> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki