Re: [PATCH v4 4/5] clk: stm32: introduce clocks for STM32MP257 platform

From: kernel test robot
Date: Wed Dec 06 2023 - 08:27:46 EST


Hi,

kernel test robot noticed the following build warnings:

[auto build test WARNING on atorgue-stm32/stm32-next]
[also build test WARNING on clk/clk-next robh/for-next linus/master v6.7-rc4 next-20231206]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/gabriel-fernandez-foss-st-com/clk-stm32mp1-move-stm32mp1-clock-driver-into-stm32-directory/20231129-005157
base: https://git.kernel.org/pub/scm/linux/kernel/git/atorgue/stm32.git stm32-next
patch link: https://lore.kernel.org/r/20231128164851.588315-5-gabriel.fernandez%40foss.st.com
patch subject: [PATCH v4 4/5] clk: stm32: introduce clocks for STM32MP257 platform
config: arm-randconfig-r132-20231201 (https://download.01.org/0day-ci/archive/20231206/202312062107.FZNn2b0i-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231206/202312062107.FZNn2b0i-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/202312062107.FZNn2b0i-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> drivers/clk/stm32/clk-stm32mp25.c:1003:5: sparse: sparse: symbol 'stm32mp25_cpt_gate' was not declared. Should it be static?
>> drivers/clk/stm32/clk-stm32mp25.c:1005:29: sparse: sparse: symbol 'stm32mp25_clock_data' was not declared. Should it be static?
>> drivers/clk/stm32/clk-stm32mp25.c:1011:29: sparse: sparse: symbol 'stm32mp25_reset_data' was not declared. Should it be static?

vim +/stm32mp25_cpt_gate +1003 drivers/clk/stm32/clk-stm32mp25.c

1002
> 1003 u16 stm32mp25_cpt_gate[GATE_NB];
1004
> 1005 struct clk_stm32_clock_data stm32mp25_clock_data = {
1006 .gate_cpt = stm32mp25_cpt_gate,
1007 .gates = stm32mp25_gates,
1008 .muxes = stm32mp25_muxes,
1009 };
1010
> 1011 struct clk_stm32_reset_data stm32mp25_reset_data = {
1012 .reset_lines = stm32mp25_reset_cfg,
1013 .nr_lines = ARRAY_SIZE(stm32mp25_reset_cfg),
1014 };
1015

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki