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/hid/i2c-hid/i2c-hid-acpi.c:84:9: sparse: warning: Initializer entry defined twice
Date: Thu, 03 Dec 2026 00:52:01 +0100	[thread overview]
Message-ID: <20261203004254.ly9C9bTA-lkp@intel.com> (raw)

:::::: 
:::::: Manual check reason: "low confidence static check warning: drivers/hid/i2c-hid/i2c-hid-acpi.c:84: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: Waqar Gulzar <iamwaqargulzar@gmail.com>
CC: Jiri Kosina <jikos@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0810bd27d7bbccb4f579f1fbb1afc98687c4c7c3
commit: ebe5e010199517103271033b435fb5b0f8213c68 HID: i2c-hid-acpi: restore touchscreen IRQ routing on HP OmniBook Flip laptops
date:   12 days ago
:::::: branch date: 3 hours ago
:::::: commit date: 12 days ago
config: x86_64-randconfig-2300-20261130 (https://download.01.org/0day-ci/archive/20261203/20261203004254.ly9C9bTA-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/20261203004254.ly9C9bTA-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: ebe5e0101995 ("HID: i2c-hid-acpi: restore touchscreen IRQ routing on HP OmniBook Flip laptops")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261203004254.ly9C9bTA-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/hid/i2c-hid/i2c-hid-acpi.c:84:9: sparse: warning: Initializer entry defined twice
   drivers/hid/i2c-hid/i2c-hid-acpi.c:90:9: sparse:   also defined here

vim +84 drivers/hid/i2c-hid/i2c-hid-acpi.c

7d62beb102d6fa Mario Limonciello (AMD  2025-09-09  58) 
ebe5e010199517 Waqar Gulzar            2026-10-08  59  /*
ebe5e010199517 Waqar Gulzar            2026-10-08  60   * HP OmniBook X Flip 14 (board 8D9F), OmniBook 7 Flip 16 (8DA0) and
ebe5e010199517 Waqar Gulzar            2026-10-08  61   * OmniBook X Flip 16 (8DA1): the touchscreen power resource
ebe5e010199517 Waqar Gulzar            2026-10-08  62   * \_SB.PC00.I2C4.PTPL._ON writes the wrong value to the GPIROUTIOXAPIC bit
ebe5e010199517 Waqar Gulzar            2026-10-08  63   * of the touchscreen interrupt pad, disconnecting it from the IO-APIC. The
ebe5e010199517 Waqar Gulzar            2026-10-08  64   * level-triggered interrupt then never deasserts, the controller is read
ebe5e010199517 Waqar Gulzar            2026-10-08  65   * continuously (~630 reads/s while idle) and it cannot deliver pen reports
ebe5e010199517 Waqar Gulzar            2026-10-08  66   * at its native rate. Windows does not run _ON while the resource already
ebe5e010199517 Waqar Gulzar            2026-10-08  67   * reports on, so it is not affected. Linux runs _ON at probe and on every
ebe5e010199517 Waqar Gulzar            2026-10-08  68   * resume, so re-enable the routing with the firmware's own helper before
ebe5e010199517 Waqar Gulzar            2026-10-08  69   * the HID reset.
ebe5e010199517 Waqar Gulzar            2026-10-08  70   */
ebe5e010199517 Waqar Gulzar            2026-10-08  71  static const struct dmi_system_id i2c_hid_acpi_irq_route_dmi[] = {
ebe5e010199517 Waqar Gulzar            2026-10-08  72  	{
ebe5e010199517 Waqar Gulzar            2026-10-08  73  		.matches = {
ebe5e010199517 Waqar Gulzar            2026-10-08  74  			DMI_MATCH(DMI_SYS_VENDOR, "HP"),
ebe5e010199517 Waqar Gulzar            2026-10-08  75  			DMI_EXACT_MATCH(DMI_BOARD_NAME, "8D9F"),
ebe5e010199517 Waqar Gulzar            2026-10-08  76  		},
ebe5e010199517 Waqar Gulzar            2026-10-08  77  	},
ebe5e010199517 Waqar Gulzar            2026-10-08  78  	{
ebe5e010199517 Waqar Gulzar            2026-10-08  79  		.matches = {
ebe5e010199517 Waqar Gulzar            2026-10-08  80  			DMI_MATCH(DMI_SYS_VENDOR, "HP"),
ebe5e010199517 Waqar Gulzar            2026-10-08  81  			DMI_EXACT_MATCH(DMI_BOARD_NAME, "8DA0"),
ebe5e010199517 Waqar Gulzar            2026-10-08  82  		},
ebe5e010199517 Waqar Gulzar            2026-10-08  83  	},
ebe5e010199517 Waqar Gulzar            2026-10-08 @84  	{
ebe5e010199517 Waqar Gulzar            2026-10-08  85  		.matches = {
ebe5e010199517 Waqar Gulzar            2026-10-08  86  			DMI_MATCH(DMI_SYS_VENDOR, "HP"),
ebe5e010199517 Waqar Gulzar            2026-10-08  87  			DMI_EXACT_MATCH(DMI_BOARD_NAME, "8DA1"),
ebe5e010199517 Waqar Gulzar            2026-10-08  88  		},
ebe5e010199517 Waqar Gulzar            2026-10-08  89  	},
ebe5e010199517 Waqar Gulzar            2026-10-08  90  	{ }
ebe5e010199517 Waqar Gulzar            2026-10-08  91  };
ebe5e010199517 Waqar Gulzar            2026-10-08  92  

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

                 reply	other threads:[~2026-12-02 23:52 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=20261203004254.ly9C9bTA-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.