* drivers/base/power/domain.c:1040:2: warning: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro]
@ 2022-04-05 2:46 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-05 2:46 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 3164 bytes --]
CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
CC: linux-kernel(a)vger.kernel.org
TO: Arnd Bergmann <arnd@arndb.de>
CC: Bjorn Andersson <bjorn.andersson@linaro.org>
CC: Charles Keepax <ckeepax@opensource.cirrus.com>
CC: Mark Brown <broonie@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3123109284176b1532874591f7c81f3837bbdc17
commit: 951cd3a0866d29cb9c01ebc1d9c17590e598226e firmware: include drivers/firmware/Kconfig unconditionally
date: 6 months ago
:::::: branch date: 30 hours ago
:::::: commit date: 6 months ago
compiler: arc-elf-gcc (GCC) 11.2.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
>> drivers/base/power/domain.c:1040:2: warning: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro]
list_for_each_entry(genpd, &gpd_list, gpd_list_node)
^
vim +1040 drivers/base/power/domain.c
39ac5ba51b69a7 Tushar Behera 2014-03-28 1025
17f2ae7f677f02 Rafael J. Wysocki 2011-08-14 1026 /**
86e12eac1f7f84 Ulf Hansson 2016-12-08 1027 * genpd_power_off_unused - Power off all PM domains with no devices in use.
17f2ae7f677f02 Rafael J. Wysocki 2011-08-14 1028 */
86e12eac1f7f84 Ulf Hansson 2016-12-08 1029 static int __init genpd_power_off_unused(void)
17f2ae7f677f02 Rafael J. Wysocki 2011-08-14 1030 {
17f2ae7f677f02 Rafael J. Wysocki 2011-08-14 1031 struct generic_pm_domain *genpd;
17f2ae7f677f02 Rafael J. Wysocki 2011-08-14 1032
39ac5ba51b69a7 Tushar Behera 2014-03-28 1033 if (pd_ignore_unused) {
39ac5ba51b69a7 Tushar Behera 2014-03-28 1034 pr_warn("genpd: Not disabling unused power domains\n");
bb4b72fc63d4c1 Ulf Hansson 2015-10-06 1035 return 0;
39ac5ba51b69a7 Tushar Behera 2014-03-28 1036 }
39ac5ba51b69a7 Tushar Behera 2014-03-28 1037
17f2ae7f677f02 Rafael J. Wysocki 2011-08-14 1038 mutex_lock(&gpd_list_lock);
17f2ae7f677f02 Rafael J. Wysocki 2011-08-14 1039
17f2ae7f677f02 Rafael J. Wysocki 2011-08-14 @1040 list_for_each_entry(genpd, &gpd_list, gpd_list_node)
17f2ae7f677f02 Rafael J. Wysocki 2011-08-14 1041 genpd_queue_power_off_work(genpd);
17f2ae7f677f02 Rafael J. Wysocki 2011-08-14 1042
17f2ae7f677f02 Rafael J. Wysocki 2011-08-14 1043 mutex_unlock(&gpd_list_lock);
17f2ae7f677f02 Rafael J. Wysocki 2011-08-14 1044
2fe71dcdfd10d3 Ulf Hansson 2014-09-03 1045 return 0;
2fe71dcdfd10d3 Ulf Hansson 2014-09-03 1046 }
86e12eac1f7f84 Ulf Hansson 2016-12-08 1047 late_initcall(genpd_power_off_unused);
2fe71dcdfd10d3 Ulf Hansson 2014-09-03 1048
:::::: The code at line 1040 was first introduced by commit
:::::: 17f2ae7f677f023997e02fd2ebabd90ea2a0390d PM / Domains: Fix build for CONFIG_PM_RUNTIME unset
:::::: TO: Rafael J. Wysocki <rjw@sisk.pl>
:::::: CC: Rafael J. Wysocki <rjw@sisk.pl>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-05 2:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-05 2:46 drivers/base/power/domain.c:1040:2: warning: There is an unknown macro here somewhere. Configuration is required. If list_for_each_entry is a macro then please configure it. [unknownMacro] kernel test robot
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.