mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/regulator/mt6316-regulator.c:329: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: AngeloGioacchino Del Regno; +Cc: oe-kbuild-all, linux-kernel, Mark Brown

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d06ce6f1eb5eeffd4ebcfde345dc34a98131d106
commit: a87a7b3530728fb7477a74c27fc27e060bf5684f regulator: Add support for MediaTek MT6316 SPMI PMIC Regulators
date:   1 year, 1 month ago
config: m68k-randconfig-r2302-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203130446.zIt70YtP-lkp@intel.com/config)
compiler: m68k-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/20261203130446.zIt70YtP-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: a87a7b353072 ("regulator: Add support for MediaTek MT6316 SPMI PMIC Regulators")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261203130446.zIt70YtP-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/regulator/mt6316-regulator.c:329:9: sparse: sparse: Initializer entry defined twice
   drivers/regulator/mt6316-regulator.c:330:9: sparse:   also defined here

vim +329 drivers/regulator/mt6316-regulator.c

   325	
   326	static const struct of_device_id mt6316_regulator_match[] = {
   327		{ .compatible = "mediatek,mt6316b-regulator", .data = (void *)MT6316_TYPE_2PHASE },
   328		{ .compatible = "mediatek,mt6316c-regulator", .data = (void *)MT6316_TYPE_3PHASE },
 > 329		{ .compatible = "mediatek,mt6316d-regulator", .data = (void *)MT6316_TYPE_4PHASE },
   330		{ /* sentinel */ }
   331	};
   332	

-- 
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/regulator/mt6316-regulator.c:329: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®