From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=192.198.163.17 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796255557; b=uoGv9dhUyODFBA2fMPW+lsGD03B3ajACu5VTFToeDr6cm9Vog0Cm45TLCJ0G7NwEEthg pu2zLx6Z1yzjS8YMCe3zuwNMowUFSg4zcgSabtJvwXtYDSKcX2aFx7MpR/e+E6kojVkXP u1/9rRNNfOPQT11s3Ww+kT74OcpcaXRqoKb9drmv8t4AE6NrBYYi9H25sQJzRxrGX+IGl fYn5yaCQEYsEre8xeXZgW2Xl3oXEUvvJhkXGWscljHsBDE+RpKrgNrwHYxl61qPOrfwGP DSPPnb2GyCvyDBc44B0iVtzM/Dzk+uhc/b+AWL+LKWofkQwyUy5wjgoNC+7HfbbIaXQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796255557; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:User-Agent; bh=8bDCEMWaPEO6C5h9mQD4QbEZ/fwkaVIDBCQNvQT1t54=; b=p7ba0sQeNYwR4ijiPW1t6niCkAwJYjSNk+JKYFKnYOmSzqPwjcwsHnMorsFft5I74H3I GGoTL2tlBfsv49ZQH3qyhs3KUCosDQV1Ou7W6PGU0kw8YwPiNxlhldH8B2grpYa9MQY0h wsmGPP57b7FpR7kgmlR+l8+hwIWLSkr0jYJZdYnZGsD02/Vs3tfUUQFm59FAWDP0HqeY6 8UheGeTmcQIFv5jigeA3KONNKP81T7oPM1Ph+iihoBT4faJd3sJE6rI+uJauk6uMvi36R qLiDaYGYLTfBwLgr6hjOYPPGrJKxyuyJ2rmUUBIMVa7PqnPyKqkaZMUxqJeKnIKFzDQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=LxM92NAg; arc=none smtp.remote-ip=192.198.163.17 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B2CD606A32D for ; Wed, 2 Dec 2026 23:52:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5B2CD606A32D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=LxM92NAg DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796255557; x=1827791557; h=date:from:to:cc:subject:message-id; bh=8bDCEMWaPEO6C5h9mQD4QbEZ/fwkaVIDBCQNvQT1t54=; b=LxM92NAgBssApOYC7Tkd7yIYFN1NL4k/xWkgI7GNT509GbSXXXL1HRF3 t/Iy4W8UCOxrWpuoPGW7ayswT7ZknVZEr1X+bl8Pk4Oxx6FBBy8rTENqy 2sJzUQ+bEyzrsXXsB+w8j67uoaUtlhBPSr5kE6zMnC2nyP9rk/ifu6wsb tjUVX4tqT45cw5QkDPLJOE4SkMshFQrQIFEoQs3LgCvzNMs2QcePH/Vkl ot7DrVbzI/soUyGLHFR7v35MRWBE9OJUE2SB1XZjXrYxSYbcokpmoTZkh k902SAk68nPXuDWA2+4ZD3OAkZ0J8BqIGF4/hm1tDDgOXOdODTesDCT2s A==; X-CSE-ConnectionGUID: FhLUcfWmSJuC7fvvciQM7g== X-CSE-MsgGUID: ZBSyb/IOSL+hXCggHAUVaw== X-IronPort-AV: E=McAfee;i="6800,10657,11984"; a="5204914" X-IronPort-AV: E=Sophos;i="6.27,247,1787036400"; d="scan'208";a="5204914" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2026 15:52:36 -0800 X-CSE-ConnectionGUID: wuCm4VfsTCCDG6vfW2RjEg== X-CSE-MsgGUID: tPW3g/2QQnKguQ9nPoyRAw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,247,1787036400"; d="scan'208";a="14046890" Received: from igk-lkp-server01.igk.intel.com (HELO 146cf1e082f1) ([10.211.93.152]) by orviesa009.jf.intel.com with ESMTP; 02 Dec 2026 15:52:34 -0800 Received: from kbuild by 146cf1e082f1 with local (Exim 4.98.2) (envelope-from ) id 1xYu7j-000000003Jd-3Dqo; Wed, 02 Dec 2026 23:52:31 +0000 Date: Thu, 03 Dec 2026 00:52:01 +0100 From: kernel test robot 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 Message-ID: <20261203004254.ly9C9bTA-lkp@intel.com> User-Agent: s-nail v14.9.25 X-Mailing-List: oe-kbuild@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list :::::: :::::: 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 CC: 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 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 | 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