mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/hid/i2c-hid/i2c-hid-acpi.c:84:9: sparse: warning: Initializer entry defined twice
@ 2026-12-03  2:27 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-12-03  2:27 UTC (permalink / raw)
  To: Waqar Gulzar; +Cc: oe-kbuild-all, linux-kernel, Jiri Kosina

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


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

only message in thread, other threads:[~2026-12-03  2:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-03  2:27 drivers/hid/i2c-hid/i2c-hid-acpi.c:84:9: sparse: warning: Initializer entry defined twice kernel test robot

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®