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

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

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

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

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 15:39 sound/soc/codecs/cs530x-spi.c:33:12: 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.