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: drivers/hwmon/macsmc-hwmon.c:835:9: sparse: warning: Initializer entry defined twice
Date: Wed, 02 Dec 2026 12:47:01 +0100	[thread overview]
Message-ID: <20261202124256.kP2Gimd1-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-12-02 11:47 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=20261202124256.kP2Gimd1-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.