mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/mmc/host/sdhci-cadence-core.c:719:9: sparse: sparse: Initializer entry defined twice
@ 2026-12-03 12:06 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-12-03 12:06 UTC (permalink / raw)
  To: Tanmay Kathpalia; +Cc: oe-kbuild-all, linux-kernel, Ulf Hansson

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d06ce6f1eb5eeffd4ebcfde345dc34a98131d106
commit: 882fb340a9568d2c2a976cb2982921a17303569e mmc: sdhci-cadence: add Cadence SD6HC support
date:   3 months ago
config: x86_64-randconfig-r2306-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203125624.9Gzzxzkt-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261203/20261203125624.9Gzzxzkt-lkp@intel.com/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: 882fb340a956 ("mmc: sdhci-cadence: add Cadence SD6HC support")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261203125624.9Gzzxzkt-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/mmc/host/sdhci-cadence-core.c:719:9: sparse: sparse: Initializer entry defined twice
   drivers/mmc/host/sdhci-cadence-core.c:723:9: sparse:   also defined here

vim +719 drivers/mmc/host/sdhci-cadence-core.c

   701	
   702	static const struct of_device_id sdhci_cdns_match[] = {
   703		{
   704			.compatible = "socionext,uniphier-sd4hc",
   705			.data = &sdhci_cdns_uniphier_drv_data,
   706		},
   707		{
   708			.compatible = "amd,pensando-elba-sd4hc",
   709			.data = &sdhci_elba_drv_data,
   710		},
   711		{
   712			.compatible = "mobileye,eyeq-sd4hc",
   713			.data = &sdhci_eyeq_drv_data,
   714		},
   715		{
   716			.compatible = "cdns,sd4hc",
   717			.data = &sdhci_cdns4_drv_data,
   718		},
 > 719		{
   720			.compatible = "cdns,sd6hc",
   721			.data = &sdhci_cdns6_drv_data,
   722		},
   723		{ /* sentinel */ }
   724	};
   725	MODULE_DEVICE_TABLE(of, sdhci_cdns_match);
   726	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-03 12:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-03 12:06 drivers/mmc/host/sdhci-cadence-core.c:719:9: sparse: sparse: Initializer entry defined twice kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®