sound/soc/codecs/nau8325.c:880:9: sparse: sparse: Initializer entry defined twice
From: kernel test robot
Date: Thu Dec 03 2026 - 03:47:03 EST
Hi Jaroslav,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d06ce6f1eb5eeffd4ebcfde345dc34a98131d106
commit: cd41d3420ef658b2ca902d7677536ec8e25b610a ASoC: nau8325: add missing build config
date: 1 year ago
config: sparc-randconfig-r2310-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203094154.STTnUM1u-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/20261203094154.STTnUM1u-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: cd41d3420ef6 ("ASoC: nau8325: add missing build config")
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261203094154.STTnUM1u-lkp@xxxxxxxxx/
sparse warnings: (new ones prefixed by >>)
>> sound/soc/codecs/nau8325.c:880:9: sparse: sparse: Initializer entry defined twice
sound/soc/codecs/nau8325.c:881:9: sparse: also defined here
vim +880 sound/soc/codecs/nau8325.c
c0a3873b9938bf Seven Lee 2024-03-27 877
c0a3873b9938bf Seven Lee 2024-03-27 878 #ifdef CONFIG_OF
c0a3873b9938bf Seven Lee 2024-03-27 879 static const struct of_device_id nau8325_of_ids[] = {
c0a3873b9938bf Seven Lee 2024-03-27 @880 { .compatible = "nuvoton,nau8325", },
c0a3873b9938bf Seven Lee 2024-03-27 881 {}
c0a3873b9938bf Seven Lee 2024-03-27 882 };
c0a3873b9938bf Seven Lee 2024-03-27 883 MODULE_DEVICE_TABLE(of, nau8325_of_ids);
c0a3873b9938bf Seven Lee 2024-03-27 884 #endif
c0a3873b9938bf Seven Lee 2024-03-27 885
:::::: The code at line 880 was first introduced by commit
:::::: c0a3873b9938bfaa77bd337cad33266a50a6583f ASoC: nau8325: new driver
:::::: TO: Seven Lee <wtli@xxxxxxxxxxx>
:::::: CC: Mark Brown <broonie@xxxxxxxxxx>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki