All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android-mainline-riscv64 1/1] drivers/iio/adc/ltc2378.c:346:9: sparse: sparse: Initializer entry defined twice
@ 2026-12-03  6:40 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-12-03  6:40 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

tree:   https://android.googlesource.com/kernel/common android-mainline-riscv64
head:   9926e8117c0d11bab862d3b579195a8c12ced61a
commit: 469eafdc69a41d7edb5c957638865f9943a37a83 [1/1] iio: adc: ltc2378: Add support for LTC2378-20 and similar ADCs
config: i386-randconfig-2300-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203073554.8Z2Ivehl-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/20261203073554.8Z2Ivehl-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: 469eafdc69a4 ("iio: adc: ltc2378: Add support for LTC2378-20 and similar ADCs")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261203073554.8Z2Ivehl-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/iio/adc/ltc2378.c:346:9: sparse: sparse: Initializer entry defined twice
   drivers/iio/adc/ltc2378.c:347:9: sparse:   also defined here

vim +346 drivers/iio/adc/ltc2378.c

   326	
   327	static const struct of_device_id ltc2378_of_match[] = {
   328		{ .compatible = "adi,ltc2364-16", .data = &ltc2364_16_chip_info },
   329		{ .compatible = "adi,ltc2364-18", .data = &ltc2364_18_chip_info },
   330		{ .compatible = "adi,ltc2367-16", .data = &ltc2367_16_chip_info },
   331		{ .compatible = "adi,ltc2367-18", .data = &ltc2367_18_chip_info },
   332		{ .compatible = "adi,ltc2368-16", .data = &ltc2368_16_chip_info },
   333		{ .compatible = "adi,ltc2368-18", .data = &ltc2368_18_chip_info },
   334		{ .compatible = "adi,ltc2369-18", .data = &ltc2369_18_chip_info },
   335		{ .compatible = "adi,ltc2370-16", .data = &ltc2370_16_chip_info },
   336		{ .compatible = "adi,ltc2376-16", .data = &ltc2376_16_chip_info },
   337		{ .compatible = "adi,ltc2376-18", .data = &ltc2376_18_chip_info },
   338		{ .compatible = "adi,ltc2376-20", .data = &ltc2376_20_chip_info },
   339		{ .compatible = "adi,ltc2377-16", .data = &ltc2377_16_chip_info },
   340		{ .compatible = "adi,ltc2377-18", .data = &ltc2377_18_chip_info },
   341		{ .compatible = "adi,ltc2377-20", .data = &ltc2377_20_chip_info },
   342		{ .compatible = "adi,ltc2378-16", .data = &ltc2378_16_chip_info },
   343		{ .compatible = "adi,ltc2378-18", .data = &ltc2378_18_chip_info },
   344		{ .compatible = "adi,ltc2378-20", .data = &ltc2378_20_chip_info },
   345		{ .compatible = "adi,ltc2379-18", .data = &ltc2379_18_chip_info },
 > 346		{ .compatible = "adi,ltc2380-16", .data = &ltc2380_16_chip_info },
   347		{ }
   348	};
   349	MODULE_DEVICE_TABLE(of, ltc2378_of_match);
   350	

-- 
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  6:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03  6:40 [android-common:android-mainline-riscv64 1/1] drivers/iio/adc/ltc2378.c:346:9: sparse: sparse: Initializer entry defined twice kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.