From nobody Mon Apr 6 11:54:47 2026 Received: from mail-il1-f201.google.com (mail-il1-f201.google.com [209.85.166.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EB68E224F3 for ; Mon, 13 Oct 2025 20:55:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760388943; cv=none; b=ML7SCbuarRKGoX6/4z4aaqO170G99KRgFFjh2J4+dAWAiQk0sBzJZtE6Yd32e3xT9hQyP7IhwsObCjPWhdXGiiPcoJr/F5C7cJYUMyy0JVzh/6MYOnxgmsTShEsXkk0h4Z8mrbWuAWyB2XfNU8D2fstUCdUpRfX+fG6bJtTSvvg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760388943; c=relaxed/simple; bh=g5aeWjEsyrEgtXYmT9bLZgoNYfmNd7RVniAPQYIhaqU=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=TMi3sb4KHJLLjwiGEU8/YLDRAFtDt0Tuv72o6RBXut0jSlYpM2bcWOnZOclba15hDdqkL3SwDOvxHIg9bSSNdXAi1l3E5xhwUcRJx6CaBKCZLzKbvBj1KWnkiytI1+yginQI9HKN0HA/69YcHf53QS09tOEPCHzNSaUJbHJuAF8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--jdenose.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=gvuPO2Re; arc=none smtp.client-ip=209.85.166.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--jdenose.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="gvuPO2Re" Received: by mail-il1-f201.google.com with SMTP id e9e14a558f8ab-42fa528658fso7712285ab.0 for ; Mon, 13 Oct 2025 13:55:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1760388941; x=1760993741; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=n2VkMZvVeagPungxdvXSEeNR4Y/36U6V3Y2qAoJc2LE=; b=gvuPO2ReOeqXobhJqHkJWoAeoB/mIK2uPhtqm0v34xB24+1yxOTSnqiKR7/EzJtJ5p ucFUC0plDsS/dpGNEBoFdgUkynR1EIVJy6xdDF943wLqu6sU2naKrwI3CYLfPUbw+zYT qpwiowL74I4aiY/L1lzdd7X2VdGQT2e6wMtI6oqRZn2EQNZtSIxAtkvJ1WC5egwmllPR V+6PUANBQOnOL9PP3IzXIcaHLEpz6DK3c7YQSXjmhlwZ+Cqr+SZVkGnForXqo6XXtQJP +3vXnUASREQbLBKhsizBLeU9GgGbkeWWxdyjXuGC7KdOBZsOu4AVD49oprRviY5b/Hun 14Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760388941; x=1760993741; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=n2VkMZvVeagPungxdvXSEeNR4Y/36U6V3Y2qAoJc2LE=; b=D6DefxWIiM9VL9wAf7TSV2sYiJ5YqRUbQKi+hMObatYWd+l4GKLIcCS+iaGoLUmO27 f9KD8xRZzNvZBsr/IiDbsIRqwwwLdfbI7dRH0GO7lkj77vdmwVrdIQpIgc48fUOM8DPL CUR6Mu44EUI4AuI16DxwEHGV7IVLKwQZiocNReqhfPLV1oMoXsChkr9CGR0TQHtC/pP+ MfSN6zoEL/EXXtq8GKT+Bc2GCDewQ5fktbs9sy78/x38m9unz2W7i+pA8MmYtzFwbwIU XCZlrxLqTRAxkaQjkDRVHJrJDg/p/Z79wnuFbp7atfJhsmiilOZbrAVkifH0UxLiMB+R iEeQ== X-Forwarded-Encrypted: i=1; AJvYcCWc2lk0EIWY6qBreghsIiiIBF1K1LQ23E66Dw5Oxb8GDuuMYLREda52foYIyvbR05ma+74CdI1SiTUW/Xc=@vger.kernel.org X-Gm-Message-State: AOJu0YzI77+efHXMAdfv2eaNp0ZltB9eAp7pQKj6ry6W0ALvweqpw9tV pV6rc2oYWNVbDSl6gMgvi+YI5Yt/eXWmBi1+8xMZz0D0WshbKCuBU/aUFVMkQpK7momAhu4NxQx xdGF0SM5NwA== X-Google-Smtp-Source: AGHT+IFzT35HVcIiSr0TCH6YF669Y1WMCSqZlPkuDacbU/ha+9HSwmUUwPGAawwWvCgwzzHXwduN3fJZgkT3 X-Received: from ilvk5.prod.google.com ([2002:a05:6e02:1a85:b0:425:c6a0:25a8]) (user=jdenose job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6e02:4509:20b0:42f:9b79:f8cd with SMTP id e9e14a558f8ab-42f9b79fcebmr135607215ab.16.1760388941161; Mon, 13 Oct 2025 13:55:41 -0700 (PDT) Date: Mon, 13 Oct 2025 20:54:57 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-B4-Tracking: v=1; b=H4sIACBn7WgC/x2MywqAIBAAfyX23ILa49CvRAdzV10CC40Ion9PO s7AzAOFs3CBqXkg8yVF9lRBtw24aFNgFKoMRplBK91hFMJoj1Mcbm5PXgJ6uXHsevJmJes0QY2 PzFX/43l53w8+vguDaAAAAA== X-Change-Id: 20251013-hid-haptic-kconfig-fix-634df2bdac1d X-Mailer: b4 0.14.2 Message-ID: <20251013-hid-haptic-kconfig-fix-v1-1-b1ad90732625@google.com> Subject: [PATCH] HID: Kconfig: Fix build error from CONFIG_HID_HAPTIC From: Jonathan Denose To: Jiri Kosina , Benjamin Tissoires Cc: Thorsten Leemhuis , Randy Dunlap , Lucas GISSOT , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Denose Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Temporarily change CONFIG_HID_HAPTIC to be bool instead of tristate, until we implement a permanent solution. --- Recently the CONFIG_HID_HAPTIC Kconfig option was reported as causing the following build errors: MODPOST Module.symvers ERROR: modpost: "hid_haptic_init" [drivers/hid/hid-multitouch.ko] undefined! ERROR: modpost: "hid_haptic_pressure_increase" [drivers/hid/hid-multitouch.= ko] undefined! ERROR: modpost: "hid_haptic_check_pressure_unit" [drivers/hid/hid-multitouc= h.ko] undefined! ERROR: modpost: "hid_haptic_input_configured" [drivers/hid/hid-multitouch.k= o] undefined! ERROR: modpost: "hid_haptic_input_mapping" [drivers/hid/hid-multitouch.ko] = undefined! ERROR: modpost: "hid_haptic_feature_mapping" [drivers/hid/hid-multitouch.ko= ] undefined! ERROR: modpost: "hid_haptic_pressure_reset" [drivers/hid/hid-multitouch.ko]= undefined! make[3]: *** [/home/thl/var/linux.dev/scripts/Makefile.modpost:147: Module.= symvers] Error 1 when the kernel is compiled with the following configuration: CONFIG_HID=3Dy CONFIG_HID_MULTITOUCH=3Dm CONFIG_HID_HAPTIC=3Dm To resolve this, temporarily change the CONFIG_HID_HAPTIC option to be bool, until we arrive at a permanent solution to enable CONFIG_HID_HAPTIC to be tristate. For a more detailed discussion, see [1]. [1]: https://lore.kernel.org/linux-input/auypydfkhx2eg7vp764way4batdilzc35i= nqda3exwzs3tk3ff@oagat6g46zto/ Signed-off-by: Jonathan Denose --- drivers/hid/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 5341aa79f387bd0e5a76266b5928d2c978dd81cf..04420a713be085c8871b4d35255= fde4cafd8de0f 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -93,7 +93,7 @@ config HID_GENERIC If unsure, say Y. =20 config HID_HAPTIC - tristate "Haptic touchpad support" + bool "Haptic touchpad support" default n help Support for touchpads with force sensors and haptic actuators instead of a --- base-commit: 3a8660878839faadb4f1a6dd72c3179c1df56787 change-id: 20251013-hid-haptic-kconfig-fix-634df2bdac1d Best regards, --=20 Jonathan Denose