drivers/pinctrl/meson/pinctrl-amlogic-a4.c:1093:9: sparse: sparse: Initializer entry defined twice
From: kernel test robot
Date: Thu Dec 03 2026 - 06:46:09 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d06ce6f1eb5eeffd4ebcfde345dc34a98131d106
commit: d184b5fef6178e721c8c3d0f65eed63aba419f74 pinctrl: meson: extend build coverage with COMPILE_TEST=y
date: 11 months ago
config: sparc64-randconfig-r2309-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203123655.oKOTKRys-lkp@xxxxxxxxx/config)
compiler: sparc64-linux-gcc (GCC) 13.5.0
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261203/20261203123655.oKOTKRys-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: d184b5fef617 ("pinctrl: meson: extend build coverage with COMPILE_TEST=y")
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261203123655.oKOTKRys-lkp@xxxxxxxxx/
sparse warnings: (new ones prefixed by >>)
>> drivers/pinctrl/meson/pinctrl-amlogic-a4.c:1093:9: sparse: sparse: Initializer entry defined twice
drivers/pinctrl/meson/pinctrl-amlogic-a4.c:1094:9: sparse: also defined here
vim +1093 drivers/pinctrl/meson/pinctrl-amlogic-a4.c
6e9be3abb78c2f Xianwei Zhao 2025-02-12 1089
6e9be3abb78c2f Xianwei Zhao 2025-02-12 1090 static const struct of_device_id aml_pctl_of_match[] = {
6e9be3abb78c2f Xianwei Zhao 2025-02-12 1091 { .compatible = "amlogic,pinctrl-a4", },
1f8e5dfddaa794 Xianwei Zhao 2025-05-27 1092 { .compatible = "amlogic,pinctrl-s7", .data = &s7_priv_data, },
1f8e5dfddaa794 Xianwei Zhao 2025-05-27 @1093 { .compatible = "amlogic,pinctrl-s6", .data = &s6_priv_data, },
6e9be3abb78c2f Xianwei Zhao 2025-02-12 1094 { /* sentinel */ }
6e9be3abb78c2f Xianwei Zhao 2025-02-12 1095 };
bd7c2312128e31 Alexey Gladkov 2025-08-14 1096 MODULE_DEVICE_TABLE(of, aml_pctl_of_match);
6e9be3abb78c2f Xianwei Zhao 2025-02-12 1097
:::::: The code at line 1093 was first introduced by commit
:::::: 1f8e5dfddaa794c97a80b2a9952be368d8fdee6e pinctrl: meson: support amlogic S6/S7/S7D SoC
:::::: TO: Xianwei Zhao <xianwei.zhao@xxxxxxxxxxx>
:::::: CC: Linus Walleij <linus.walleij@xxxxxxxxxx>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki