All of lore.kernel.org
 help / color / mirror / Atom feed
* sound/soc/codecs/simple-amplifier.c:91:9: sparse: warning: Initializer entry defined twice
@ 2026-11-30 13:17 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-11-30 13:17 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "low confidence static check warning: sound/soc/codecs/simple-amplifier.c:91:9: sparse: warning: Initializer entry defined twice"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Herve Codina <herve.codina@bootlin.com>
CC: Mark Brown <broonie@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   fe6ff8d5d675c01793b9f051d16055dd4aa75244
commit: 2c562adb159ea3f4e5fdf4074e512ae369b4c22b ASoC: simple-amplifier: Remove CONFIG_OF flag and of_match_ptr()
date:   7 months ago
:::::: branch date: 15 hours ago
:::::: commit date: 7 months ago
config: x86_64-randconfig-2302-20261130 (https://download.01.org/0day-ci/archive/20261130/20261130141334.NLACnoiZ-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261130/20261130141334.NLACnoiZ-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: 2c562adb159e ("ASoC: simple-amplifier: Remove CONFIG_OF flag and of_match_ptr()")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261130141334.NLACnoiZ-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> sound/soc/codecs/simple-amplifier.c:91:9: sparse: warning: Initializer entry defined twice
   sound/soc/codecs/simple-amplifier.c:92:9: sparse:   also defined here

vim +91 sound/soc/codecs/simple-amplifier.c

85825d5e886912 sound/soc/codecs/dio2125.c          Jerome Brunet 2017-03-06  88  
8d881bb6216d28 sound/soc/codecs/simple-amplifier.c Jerome Brunet 2018-06-26  89  static const struct of_device_id simple_amp_ids[] = {
85825d5e886912 sound/soc/codecs/dio2125.c          Jerome Brunet 2017-03-06  90  	{ .compatible = "dioo,dio2125", },
8ed237e83ce9ff sound/soc/codecs/simple-amplifier.c Jerome Brunet 2018-06-26 @91  	{ .compatible = "simple-audio-amplifier", },
85825d5e886912 sound/soc/codecs/dio2125.c          Jerome Brunet 2017-03-06  92  	{ }
85825d5e886912 sound/soc/codecs/dio2125.c          Jerome Brunet 2017-03-06  93  };
8d881bb6216d28 sound/soc/codecs/simple-amplifier.c Jerome Brunet 2018-06-26  94  MODULE_DEVICE_TABLE(of, simple_amp_ids);
85825d5e886912 sound/soc/codecs/dio2125.c          Jerome Brunet 2017-03-06  95  

:::::: The code at line 91 was first introduced by commit
:::::: 8ed237e83ce9ff4b3964a6b096beb1cbd3397d5a ASoC: simple-amplifer: add simple-amplifier compatible

:::::: TO: Jerome Brunet <jbrunet@baylibre.com>
:::::: CC: Mark Brown <broonie@kernel.org>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-30 13:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 13:17 sound/soc/codecs/simple-amplifier.c:91:9: sparse: warning: Initializer entry defined twice kernel test robot

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.