drivers/clk/samsung/clk-artpec9.c:1204:12: sparse: sparse: Initializer entry defined twice
From: kernel test robot
Date: Thu Dec 03 2026 - 06:36:11 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d06ce6f1eb5eeffd4ebcfde345dc34a98131d106
commit: 85cc5be65b82481d9eb14afb6a6d52d5bde36cb0 clk: samsung: artpec-9: Add initial clock support for ARTPEC-9 SoC
date: 9 months ago
config: nios2-randconfig-r2309-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203122821.Tgkm28Pa-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/20261203122821.Tgkm28Pa-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: 85cc5be65b82 ("clk: samsung: artpec-9: Add initial clock support for ARTPEC-9 SoC")
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261203122821.Tgkm28Pa-lkp@xxxxxxxxx/
sparse warnings: (new ones prefixed by >>)
>> drivers/clk/samsung/clk-artpec9.c:1204:12: sparse: sparse: Initializer entry defined twice
drivers/clk/samsung/clk-artpec9.c:1207:12: sparse: also defined here
vim +1204 drivers/clk/samsung/clk-artpec9.c
1184
1185 static const struct of_device_id artpec9_cmu_of_match[] = {
1186 {
1187 .compatible = "axis,artpec9-cmu-cmu",
1188 .data = &cmu_cmu_info,
1189 }, {
1190 .compatible = "axis,artpec9-cmu-bus",
1191 .data = &cmu_bus_info,
1192 }, {
1193 .compatible = "axis,artpec9-cmu-core",
1194 .data = &cmu_core_info,
1195 }, {
1196 .compatible = "axis,artpec9-cmu-cpucl",
1197 .data = &cmu_cpucl_info,
1198 }, {
1199 .compatible = "axis,artpec9-cmu-fsys0",
1200 .data = &cmu_fsys0_info,
1201 }, {
1202 .compatible = "axis,artpec9-cmu-fsys1",
1203 .data = &cmu_fsys1_info,
> 1204 }, {
1205 .compatible = "axis,artpec9-cmu-peri",
1206 .data = &cmu_peri_info,
1207 }, {
1208 },
1209 };
1210
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki