drivers/clk/imx/clk-imx8ulp-sim-lpav.c:41:9: sparse: sparse: Initializer entry defined twice
From: kernel test robot
Date: Thu Dec 03 2026 - 04:29:00 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d06ce6f1eb5eeffd4ebcfde345dc34a98131d106
commit: fdc1dc7dd53b95805d3943ed36785c1ec812915e clk: imx: add driver for imx8ulp's sim lpav
date: 1 year, 1 month ago
config: nios2-randconfig-r2309-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203102216.YGyQAOCd-lkp@xxxxxxxxx/config)
compiler: nios2-linux-gcc (GCC) 9.5.0
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261203/20261203102216.YGyQAOCd-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
| Fixes: fdc1dc7dd53b ("clk: imx: add driver for imx8ulp's sim lpav")
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261203102216.YGyQAOCd-lkp@xxxxxxxxx/
sparse warnings: (new ones prefixed by >>)
>> drivers/clk/imx/clk-imx8ulp-sim-lpav.c:41:9: sparse: sparse: Initializer entry defined twice
drivers/clk/imx/clk-imx8ulp-sim-lpav.c:41:9: sparse: also defined here
drivers/clk/imx/clk-imx8ulp-sim-lpav.c:42:9: sparse: sparse: Initializer entry defined twice
drivers/clk/imx/clk-imx8ulp-sim-lpav.c:42:9: sparse: also defined here
drivers/clk/imx/clk-imx8ulp-sim-lpav.c:43:9: sparse: sparse: Initializer entry defined twice
drivers/clk/imx/clk-imx8ulp-sim-lpav.c:43:9: sparse: also defined here
drivers/clk/imx/clk-imx8ulp-sim-lpav.c:140:9: sparse: sparse: Initializer entry defined twice
drivers/clk/imx/clk-imx8ulp-sim-lpav.c:141:9: sparse: also defined here
vim +41 drivers/clk/imx/clk-imx8ulp-sim-lpav.c
39
40 static struct clk_imx8ulp_sim_lpav_gate gates[] = {
> 41 IMX8ULP_HIFI_CLK_GATE("hifi_core", CORE, "core", 17),
42 IMX8ULP_HIFI_CLK_GATE("hifi_pbclk", PBCLK, "bus", 18),
43 IMX8ULP_HIFI_CLK_GATE("hifi_plat", PLAT, "plat", 19)
44 };
45
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki