drivers/gpu/drm/panel/panel-chipone-icna35xx.c:406:9: sparse: sparse: Initializer entry defined twice
From: kernel test robot
Date: Thu Dec 03 2026 - 06:36:16 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d06ce6f1eb5eeffd4ebcfde345dc34a98131d106
commit: f747473a838ecc25e842e3c60ea95a5175be932e drm/panel: Add panel driver for Chipone ICNA35XX based panels
date: 6 months ago
config: csky-randconfig-r2311-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203123141.DZlJZxw3-lkp@xxxxxxxxx/config)
compiler: csky-linux-gcc (GCC) 10.5.0
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261203/20261203123141.DZlJZxw3-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: f747473a838e ("drm/panel: Add panel driver for Chipone ICNA35XX based panels")
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261203123141.DZlJZxw3-lkp@xxxxxxxxx/
sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/panel/panel-chipone-icna35xx.c:406:9: sparse: sparse: Initializer entry defined twice
drivers/gpu/drm/panel/panel-chipone-icna35xx.c:407:9: sparse: also defined here
vim +406 drivers/gpu/drm/panel/panel-chipone-icna35xx.c
401
402 static const struct of_device_id icna35xx_of_match[] = {
403 { .compatible = "ayaneo,pocketds-panel-top", .data = &odin2portal_desc },
404 { .compatible = "ayntec,odin2portal-panel", .data = &odin2portal_desc },
405 { .compatible = "ayntec,odin3-panel", .data = &thor_top_desc },
> 406 { .compatible = "ayntec,thor-panel-top", .data = &thor_top_desc },
407 { /* sentinel */ }
408 };
409 MODULE_DEVICE_TABLE(of, icna35xx_of_match);
410
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki