All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android-mainline-riscv64 1/1] drivers/iio/adc/ltc2378.c:346:9: sparse: sparse: Initializer entry defined twice
Date: Thu, 03 Dec 2026 07:40:24 +0100	[thread overview]
Message-ID: <20261203073554.8Z2Ivehl-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-12-03  6:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261203073554.8Z2Ivehl-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.