Hi Clément, kernel test robot noticed the following build warnings: [auto build test WARNING on 86731a2a651e58953fc949573895f2fa6d456841] url: https://github.com/intel-lab-lkp/linux/commits/Cl-ment-Le-Goffic/bus-firewall-move-stm32_firewall-header-file-in-include-folder/20250623-173554 base: 86731a2a651e58953fc949573895f2fa6d456841 patch link: https://lore.kernel.org/r/20250623-ddrperfm-upstream-v1-6-7dffff168090%40foss.st.com patch subject: [PATCH 06/13] perf: stm32: introduce DDRPERFM driver config: i386-buildonly-randconfig-004-20250627 (https://download.01.org/0day-ci/archive/20250627/202506270708.6w6phhmi-lkp@xxxxxxxxx/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250627/202506270708.6w6phhmi-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/202506270708.6w6phhmi-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): drivers/perf/stm32_ddr_pmu.c: In function 'stm32_ddr_start_counters': drivers/perf/stm32_ddr_pmu.c:205:9: error: implicit declaration of function 'writel_relaxed' [-Werror=implicit-function-declaration] 205 | writel_relaxed(r->start.mask, pmu->membase + r->start.reg); | ^~~~~~~~~~~~~~ drivers/perf/stm32_ddr_pmu.c: In function 'stm32_ddr_clear_counter': drivers/perf/stm32_ddr_pmu.c:232:22: error: implicit declaration of function 'readl_relaxed' [-Werror=implicit-function-declaration] 232 | u32 status = readl_relaxed(pmu->membase + r->status.reg); | ^~~~~~~~~~~~~ drivers/perf/stm32_ddr_pmu.c: At top level: >> drivers/perf/stm32_ddr_pmu.c:862:34: warning: 'stm32_ddr_pmu_of_match' defined but not used [-Wunused-const-variable=] 862 | static const struct of_device_id stm32_ddr_pmu_of_match[] = { | ^~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/stm32_ddr_pmu_of_match +862 drivers/perf/stm32_ddr_pmu.c 861 > 862 static const struct of_device_id stm32_ddr_pmu_of_match[] = { 863 { 864 .compatible = "st,stm32mp131-ddr-pmu", 865 .data = &stm32_ddr_pmu_cfg_mp1 866 }, 867 { 868 .compatible = "st,stm32mp151-ddr-pmu", 869 .data = &stm32_ddr_pmu_cfg_mp1 870 }, 871 { 872 .compatible = "st,stm32mp251-ddr-pmu", 873 .data = &stm32_ddr_pmu_cfg_mp2 874 }, 875 { }, 876 }; 877 MODULE_DEVICE_TABLE(of, stm32_ddr_pmu_of_match); 878 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki