Re: [PATCH 11/14] clk: qcom: add support for GCC on SAR2130P
From: kernel test robot
Date: Sun Oct 20 2024 - 19:30:36 EST
Hi Dmitry,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 7df1e7189cecb6965ce672e820a5ec6cf499b65b]
url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Baryshkov/dt-bindings-clock-qcom-rpmhcc-Add-SAR2130P-compatible/20241018-010608
base: 7df1e7189cecb6965ce672e820a5ec6cf499b65b
patch link: https://lore.kernel.org/r/20241017-sar2130p-clocks-v1-11-f75e740f0a8d%40linaro.org
patch subject: [PATCH 11/14] clk: qcom: add support for GCC on SAR2130P
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20241021/202410210706.cTMYfYvA-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/20241021/202410210706.cTMYfYvA-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/202410210706.cTMYfYvA-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> drivers/clk/qcom/gcc-sar2130p.c:269:37: warning: 'gcc_parent_data_5' defined but not used [-Wunused-const-variable=]
269 | static const struct clk_parent_data gcc_parent_data_5[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-sar2130p.c:264:32: warning: 'gcc_parent_map_5' defined but not used [-Wunused-const-variable=]
264 | static const struct parent_map gcc_parent_map_5[] = {
| ^~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-sar2130p.c:259:37: warning: 'gcc_parent_data_4' defined but not used [-Wunused-const-variable=]
259 | static const struct clk_parent_data gcc_parent_data_4[] = {
| ^~~~~~~~~~~~~~~~~
>> drivers/clk/qcom/gcc-sar2130p.c:254:32: warning: 'gcc_parent_map_4' defined but not used [-Wunused-const-variable=]
254 | static const struct parent_map gcc_parent_map_4[] = {
| ^~~~~~~~~~~~~~~~
vim +/gcc_parent_data_5 +269 drivers/clk/qcom/gcc-sar2130p.c
253
> 254 static const struct parent_map gcc_parent_map_4[] = {
255 { P_PCIE_0_PIPE_CLK, 0 },
256 { P_BI_TCXO, 2 },
257 };
258
> 259 static const struct clk_parent_data gcc_parent_data_4[] = {
260 { .index = DT_PCIE_0_PIPE },
261 { .index = DT_BI_TCXO },
262 };
263
> 264 static const struct parent_map gcc_parent_map_5[] = {
265 { P_PCIE_1_PIPE_CLK, 0 },
266 { P_BI_TCXO, 2 },
267 };
268
> 269 static const struct clk_parent_data gcc_parent_data_5[] = {
270 { .index = DT_PCIE_1_PIPE },
271 { .index = DT_BI_TCXO },
272 };
273
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki