drivers/power/sequencing/pwrseq-pcie-m2.c:149:9: sparse: sparse: Initializer entry defined twice

From: kernel test robot

Date: Thu Dec 03 2026 - 06:14:06 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d06ce6f1eb5eeffd4ebcfde345dc34a98131d106
commit: 52e7b5bd62bab3851f25d8b70ad7eae9e94aba60 power: sequencing: Add the Power Sequencing driver for the PCIe M.2 connectors
date: 10 months ago
config: sparc-randconfig-r2310-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203120400.MUYWGmjV-lkp@xxxxxxxxx/config)
compiler: sparc-linux-gcc (GCC) 16.2.0
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261203/20261203120400.MUYWGmjV-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: 52e7b5bd62ba ("power: sequencing: Add the Power Sequencing driver for the PCIe M.2 connectors")
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261203120400.MUYWGmjV-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> drivers/power/sequencing/pwrseq-pcie-m2.c:149:9: sparse: sparse: Initializer entry defined twice
drivers/power/sequencing/pwrseq-pcie-m2.c:153:9: sparse: also defined here

vim +149 drivers/power/sequencing/pwrseq-pcie-m2.c

147
148 static const struct of_device_id pwrseq_pcie_m2_of_match[] = {
> 149 {
150 .compatible = "pcie-m2-m-connector",
151 .data = &pwrseq_pcie_m2_m_of_data,
152 },
153 { }
154 };
155 MODULE_DEVICE_TABLE(of, pwrseq_pcie_m2_of_match);
156

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