All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: sound/soc/codecs/simple-amplifier.c:91:9: sparse: warning: Initializer entry defined twice
Date: Mon, 30 Nov 2026 14:17:25 +0100	[thread overview]
Message-ID: <20261130141334.NLACnoiZ-lkp@intel.com> (raw)

:::::: 
:::::: 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

                 reply	other threads:[~2026-11-30 13:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261130141334.NLACnoiZ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.