From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: sound/soc/codecs/cs530x-spi.c:33:12: sparse: warning: Initializer entry defined twice
Date: Mon, 30 Nov 2026 16:39:57 +0100 [thread overview]
Message-ID: <20261130163537.CyVyu6SX-lkp@intel.com> (raw)
::::::
:::::: Manual check reason: "low confidence static check warning: sound/soc/codecs/cs530x-spi.c:33:12: sparse: warning: Initializer entry defined twice"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
CC: Mark Brown <broonie@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fe6ff8d5d675c01793b9f051d16055dd4aa75244
commit: e7434adf0c53a84d548226304cdb41c8818da1cb ASoC: cs530x: Add SPI bus support for cs530x parts
date: 1 year, 1 month ago
:::::: branch date: 17 hours ago
:::::: commit date: 1 year, 1 month ago
config: i386-randconfig-2300-20261130 (https://download.01.org/0day-ci/archive/20261130/20261130163537.CyVyu6SX-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261130/20261130163537.CyVyu6SX-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: e7434adf0c53 ("ASoC: cs530x: Add SPI bus support for cs530x parts")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261130163537.CyVyu6SX-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> sound/soc/codecs/cs530x-spi.c:33:12: sparse: warning: Initializer entry defined twice
sound/soc/codecs/cs530x-spi.c:37:9: sparse: also defined here
vim +33 sound/soc/codecs/cs530x-spi.c
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 13
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 14 static const struct of_device_id cs530x_of_match[] = {
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 15 {
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 16 .compatible = "cirrus,cs4282",
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 17 .data = (void *)CS4282,
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 18 }, {
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 19 .compatible = "cirrus,cs4302",
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 20 .data = (void *)CS4302,
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 21 }, {
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 22 .compatible = "cirrus,cs4304",
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 23 .data = (void *)CS4304,
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 24 }, {
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 25 .compatible = "cirrus,cs4308",
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 26 .data = (void *)CS4308,
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 27 }, {
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 28 .compatible = "cirrus,cs5302",
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 29 .data = (void *)CS5302,
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 30 }, {
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 31 .compatible = "cirrus,cs5304",
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 32 .data = (void *)CS5304,
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 @33 }, {
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 34 .compatible = "cirrus,cs5304",
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 35 .data = (void *)CS5308,
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 36 },
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 37 {}
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 38 };
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 39 MODULE_DEVICE_TABLE(of, cs530x_of_match);
e7434adf0c53a8 Vitaly Rodionov 2025-10-23 40
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-11-30 15:40 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=20261130163537.CyVyu6SX-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.