Re: [PATCH v4 03/27] gcc-sdm845: Add general purpose clock ops
From: kernel test robot
Date: Sat Sep 14 2024 - 00:52:05 EST
Hi Dzmitry,
kernel test robot noticed the following build errors:
[auto build test ERROR on 5acd9952f95fb4b7da6d09a3be39195a80845eb6]
url: https://github.com/intel-lab-lkp/linux/commits/Dzmitry-Sankouski/power-supply-add-undervoltage-health-status-property/20240913-231027
base: 5acd9952f95fb4b7da6d09a3be39195a80845eb6
patch link: https://lore.kernel.org/r/20240913-starqltechn_integration_upstream-v4-3-2d2efd5c5877%40gmail.com
patch subject: [PATCH v4 03/27] gcc-sdm845: Add general purpose clock ops
config: i386-buildonly-randconfig-004-20240914 (https://download.01.org/0day-ci/archive/20240914/202409141246.H3882zgF-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/20240914/202409141246.H3882zgF-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/202409141246.H3882zgF-lkp@xxxxxxxxx/
All error/warnings (new ones prefixed by >>):
>> drivers/clk/qcom/gcc-sdm845.c:291:9: warning: braces around scalar initializer
291 | .freq_tbl = {},
| ^
drivers/clk/qcom/gcc-sdm845.c:291:9: note: (near initialization for 'gcc_gp1_clk_src.<anonymous>.freq_tbl')
>> drivers/clk/qcom/gcc-sdm845.c:291:21: error: empty scalar initializer
291 | .freq_tbl = {},
| ^
drivers/clk/qcom/gcc-sdm845.c:291:21: note: (near initialization for 'gcc_gp1_clk_src.<anonymous>.freq_tbl')
drivers/clk/qcom/gcc-sdm845.c:305:9: warning: braces around scalar initializer
305 | .freq_tbl = {},
| ^
drivers/clk/qcom/gcc-sdm845.c:305:9: note: (near initialization for 'gcc_gp2_clk_src.<anonymous>.freq_tbl')
drivers/clk/qcom/gcc-sdm845.c:305:21: error: empty scalar initializer
305 | .freq_tbl = {},
| ^
drivers/clk/qcom/gcc-sdm845.c:305:21: note: (near initialization for 'gcc_gp2_clk_src.<anonymous>.freq_tbl')
drivers/clk/qcom/gcc-sdm845.c:319:9: warning: braces around scalar initializer
319 | .freq_tbl = {},
| ^
drivers/clk/qcom/gcc-sdm845.c:319:9: note: (near initialization for 'gcc_gp3_clk_src.<anonymous>.freq_tbl')
drivers/clk/qcom/gcc-sdm845.c:319:21: error: empty scalar initializer
319 | .freq_tbl = {},
| ^
drivers/clk/qcom/gcc-sdm845.c:319:21: note: (near initialization for 'gcc_gp3_clk_src.<anonymous>.freq_tbl')
vim +291 drivers/clk/qcom/gcc-sdm845.c
285
286 static struct clk_rcg2 gcc_gp1_clk_src = {
287 .cmd_rcgr = 0x64004,
288 .mnd_width = 8,
289 .hid_width = 5,
290 .parent_map = gcc_parent_map_1,
> 291 .freq_tbl = {},
292 .clkr.hw.init = &(struct clk_init_data){
293 .name = "gcc_gp1_clk_src",
294 .parent_data = gcc_parent_data_1,
295 .num_parents = ARRAY_SIZE(gcc_parent_data_1),
296 .ops = &clk_rcg2_gp_ops,
297 },
298 };
299
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki