drivers/gpu/drm/panel/panel-anbernic-td4310.c:238:9: sparse: sparse: Initializer entry defined twice
From: kernel test robot
Date: Thu Dec 03 2026 - 02:54:00 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d06ce6f1eb5eeffd4ebcfde345dc34a98131d106
commit: a81b4fe69e7bd2667524182e76c635f04c1ead7e drm/panel: anbernic-td4310: Add RG Vita Pro panel
date: 6 months ago
config: powerpc64-randconfig-r2300-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203084504.JmvTbAcK-lkp@xxxxxxxxx/config)
compiler: powerpc64-linux-gcc (GCC) 15.3.0
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261203/20261203084504.JmvTbAcK-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: a81b4fe69e7b ("drm/panel: anbernic-td4310: Add RG Vita Pro panel")
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261203084504.JmvTbAcK-lkp@xxxxxxxxx/
sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/panel/panel-anbernic-td4310.c:238:9: sparse: sparse: Initializer entry defined twice
drivers/gpu/drm/panel/panel-anbernic-td4310.c:242:9: sparse: also defined here
vim +238 drivers/gpu/drm/panel/panel-anbernic-td4310.c
236
237 static const struct of_device_id panel_anbernic_td4310_of_match[] = {
> 238 {
239 .compatible = "anbernic,panel-vita-pro",
240 .data = &anbernic_vitapro_info,
241 },
242 { }
243 };
244 MODULE_DEVICE_TABLE(of, panel_anbernic_td4310_of_match);
245
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki