sound/soc/codecs/cs35l56.c:1018:10: sparse: sparse: Initializer entry defined twice
From: kernel test robot
Date: Thu Dec 03 2026 - 03:47:04 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d06ce6f1eb5eeffd4ebcfde345dc34a98131d106
commit: 191a27faf53edf9e9101901e402bfee49c44073c ASoC: cs35l56: Create debugfs files for factory calibration
date: 1 year, 1 month ago
config: m68k-randconfig-r2302-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203094248.DcCJc6HG-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 10.5.0
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261203/20261203094248.DcCJc6HG-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: 191a27faf53e ("ASoC: cs35l56: Create debugfs files for factory calibration")
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261203094248.DcCJc6HG-lkp@xxxxxxxxx/
sparse warnings: (new ones prefixed by >>)
>> sound/soc/codecs/cs35l56.c:1018:10: sparse: sparse: Initializer entry defined twice
sound/soc/codecs/cs35l56.c:1021:10: sparse: also defined here
vim +1018 sound/soc/codecs/cs35l56.c
1013
1014 static const struct cs35l56_cal_debugfs_fops cs35l56_cal_debugfs_fops = {
1015 .calibrate = {
1016 .write = cs35l56_debugfs_calibrate_write,
1017 },
> 1018 .cal_temperature = {
1019 .write = cs35l56_debugfs_cal_temperature_write,
1020 },
1021 .cal_data = {
1022 .read = cs35l56_debugfs_cal_data_read,
1023 .write = cs35l56_debugfs_cal_data_write,
1024 },
1025 };
1026
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki