drivers/iio/adc/ad4691.c:757:9: sparse: sparse: Initializer entry defined twice
From: kernel test robot
Date: Thu Dec 03 2026 - 05:22:05 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d06ce6f1eb5eeffd4ebcfde345dc34a98131d106
commit: 40850443aa1239f71fc65b870a0f0ecd54e42c9d iio: adc: ad4691: add initial driver for AD4691 family
date: 6 months ago
config: x86_64-randconfig-r2306-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203111302.ktkJAvh1-lkp@xxxxxxxxx/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/20261203111302.ktkJAvh1-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: 40850443aa12 ("iio: adc: ad4691: add initial driver for AD4691 family")
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261203111302.ktkJAvh1-lkp@xxxxxxxxx/
sparse warnings: (new ones prefixed by >>)
>> drivers/iio/adc/ad4691.c:757:9: sparse: sparse: Initializer entry defined twice
drivers/iio/adc/ad4691.c:758:9: sparse: also defined here
vim +757 drivers/iio/adc/ad4691.c
752
753 static const struct of_device_id ad4691_of_match[] = {
754 { .compatible = "adi,ad4691", .data = &ad4691_chip_info },
755 { .compatible = "adi,ad4692", .data = &ad4692_chip_info },
756 { .compatible = "adi,ad4693", .data = &ad4693_chip_info },
> 757 { .compatible = "adi,ad4694", .data = &ad4694_chip_info },
758 { }
759 };
760 MODULE_DEVICE_TABLE(of, ad4691_of_match);
761
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki