mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Nikita Dubrovskih <testname142@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	Guenter Roeck <linux@roeck-us.net>
Subject: drivers/hwmon/honor-fmi.c:26:9: sparse: sparse: Initializer entry defined twice
Date: Thu, 03 Dec 2026 08:53:43 +0100	[thread overview]
Message-ID: <20261203084333.HcWdHxfL-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d06ce6f1eb5eeffd4ebcfde345dc34a98131d106
commit: 9d5443e2cdaaff3df7c4c383b8656bc7fc9f4144 hwmon: Add fan monitoring support for HONOR FMI-XX
date:   7 weeks ago
config: x86_64-randconfig-2300-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203084333.HcWdHxfL-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/20261203/20261203084333.HcWdHxfL-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: 9d5443e2cdaa ("hwmon: Add fan monitoring support for HONOR FMI-XX")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261203084333.HcWdHxfL-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/hwmon/honor-fmi.c:26:9: sparse: sparse: Initializer entry defined twice
   drivers/hwmon/honor-fmi.c:32:9: sparse:   also defined here

vim +26 drivers/hwmon/honor-fmi.c

    24	
    25	static const struct dmi_system_id honor_fmi_dmi_table[] = {
  > 26		{
    27			.matches = {
    28				DMI_MATCH(DMI_SYS_VENDOR, "HONOR"),
    29				DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "FMI-XX"),
    30			},
    31		},
    32		{}
    33	};
    34	MODULE_DEVICE_TABLE(dmi, honor_fmi_dmi_table);
    35	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-12-03  7:53 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=20261203084333.HcWdHxfL-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=testname142@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®