Hi Chen-Yu, kernel test robot noticed the following build errors: [auto build test ERROR on 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0] url: https://github.com/intel-lab-lkp/linux/commits/Chen-Yu-Tsai/dt-bindings-clock-mediatek-Add-mt8173-mfgtop/20240530-163739 base: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 patch link: https://lore.kernel.org/r/20240530083513.4135052-3-wenst%40chromium.org patch subject: [PATCH 2/6] clk: mediatek: Add mt8173-mfgtop driver config: arc-randconfig-001-20240530 (https://download.01.org/0day-ci/archive/20240531/202405310018.2eeqgDyV-lkp@xxxxxxxxx/config) compiler: arc-elf-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240531/202405310018.2eeqgDyV-lkp@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202405310018.2eeqgDyV-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): drivers/pmdomain/core.c: In function 'genpd_queue_power_off_work': drivers/pmdomain/core.c:701:20: error: 'pm_wq' undeclared (first use in this function) 701 | queue_work(pm_wq, &genpd->power_off_work); | ^~~~~ drivers/pmdomain/core.c:701:20: note: each undeclared identifier is reported only once for each function it appears in drivers/pmdomain/core.c: In function 'genpd_dev_pm_qos_notifier': drivers/pmdomain/core.c:900:39: error: 'struct dev_pm_info' has no member named 'ignore_children' 900 | if (!dev || dev->power.ignore_children) | ^ drivers/pmdomain/core.c: In function 'rtpm_status_str': >> drivers/pmdomain/core.c:3111:23: error: 'struct dev_pm_info' has no member named 'runtime_error' 3111 | if (dev->power.runtime_error) | ^ >> drivers/pmdomain/core.c:3113:28: error: 'struct dev_pm_info' has no member named 'disable_depth' 3113 | else if (dev->power.disable_depth) | ^ >> drivers/pmdomain/core.c:3115:28: error: 'struct dev_pm_info' has no member named 'runtime_status' 3115 | else if (dev->power.runtime_status < ARRAY_SIZE(status_lookup)) | ^ drivers/pmdomain/core.c:3116:45: error: 'struct dev_pm_info' has no member named 'runtime_status' 3116 | p = status_lookup[dev->power.runtime_status]; | ^ Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for PM_GENERIC_DOMAINS Depends on [n]: PM [=n] Selected by [m]: - COMMON_CLK_MT8173_MFGTOP [=m] && COMMON_CLK [=y] && (ARCH_MEDIATEK || COMPILE_TEST [=y]) && COMMON_CLK_MT8173 [=m] vim +3111 drivers/pmdomain/core.c 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 3095 8b0510b52478a4e drivers/base/power/domain.c Jon Hunter 2016-08-11 3096 #ifdef CONFIG_DEBUG_FS 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 3097 /* 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 3098 * TODO: This function is a slightly modified version of rtpm_status_show d30d819dc831078 drivers/base/power/domain.c Rafael J. Wysocki 2014-11-27 3099 * from sysfs.c, so generalize it. 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 3100 */ 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 3101 static void rtpm_status_str(struct seq_file *s, struct device *dev) 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 3102 { 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 3103 static const char * const status_lookup[] = { 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 3104 [RPM_ACTIVE] = "active", 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 3105 [RPM_RESUMING] = "resuming", 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 3106 [RPM_SUSPENDED] = "suspended", 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 3107 [RPM_SUSPENDING] = "suspending" 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 3108 }; 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 3109 const char *p = ""; 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 3110 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 @3111 if (dev->power.runtime_error) 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 3112 p = "error"; 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 @3113 else if (dev->power.disable_depth) 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 3114 p = "unsupported"; 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 @3115 else if (dev->power.runtime_status < ARRAY_SIZE(status_lookup)) 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 3116 p = status_lookup[dev->power.runtime_status]; 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 3117 else 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 3118 WARN_ON(1); 2bd5306a8764d94 drivers/base/power/domain.c Maciej Matraszek 2014-09-15 3119 45fbc464b047b3f drivers/base/power/domain.c Dmitry Osipenko 2021-01-21 3120 seq_printf(s, "%-25s ", p); 45fbc464b047b3f drivers/base/power/domain.c Dmitry Osipenko 2021-01-21 3121 } 45fbc464b047b3f drivers/base/power/domain.c Dmitry Osipenko 2021-01-21 3122 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki