All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/hwmon/macsmc-hwmon.c:835:9: sparse: warning: Initializer entry defined twice
@ 2026-12-02 11:47 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-12-02 11:47 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "low confidence static check warning: drivers/hwmon/macsmc-hwmon.c:835: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: James Calligeros <jcalligeros99@gmail.com>
CC: Guenter Roeck <linux@roeck-us.net>
CC: Neal Gompa <neal@gompa.dev>
CC: Janne Grunau <j@jannau.net>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   693c2e04e3f1d4c59af236e1211b7b8cb165a790
commit: 785205fd81399bd8e49065aee3362a99d5702321 hwmon: Add Apple Silicon SMC hwmon driver
date:   1 year ago
:::::: branch date: 19 hours ago
:::::: commit date: 1 year ago
config: arm64-randconfig-r2309-20261202 (https://download.01.org/0day-ci/archive/20261202/20261202124256.kP2Gimd1-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261202/20261202124256.kP2Gimd1-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: 785205fd8139 ("hwmon: Add Apple Silicon SMC hwmon driver")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261202124256.kP2Gimd1-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/hwmon/macsmc-hwmon.c:835:9: sparse: warning: Initializer entry defined twice
   drivers/hwmon/macsmc-hwmon.c:836:9: sparse:   also defined here

vim +835 drivers/hwmon/macsmc-hwmon.c

785205fd81399b James Calligeros 2025-11-12  833  
785205fd81399b James Calligeros 2025-11-12  834  static const struct of_device_id macsmc_hwmon_of_table[] = {
785205fd81399b James Calligeros 2025-11-12 @835  	{ .compatible = "apple,smc-hwmon" },
785205fd81399b James Calligeros 2025-11-12  836  	{}
785205fd81399b James Calligeros 2025-11-12  837  };
785205fd81399b James Calligeros 2025-11-12  838  MODULE_DEVICE_TABLE(of, macsmc_hwmon_of_table);
785205fd81399b James Calligeros 2025-11-12  839  

-- 
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-12-02 11:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 11:47 drivers/hwmon/macsmc-hwmon.c:835: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.