Message ID | 20221118084254.1880165-1-benjamin.tissoires@redhat.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp70261wrr; Fri, 18 Nov 2022 00:47:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf77Ma7KzULSl3wBoXdA8iRddTQQts2e2D7IiAECLdOF7zTyjX7y5h5FGJLhhzCwZXjVMPRP X-Received: by 2002:a17:90b:4cc7:b0:218:8711:abc3 with SMTP id nd7-20020a17090b4cc700b002188711abc3mr2025334pjb.218.1668761237552; Fri, 18 Nov 2022 00:47:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668761237; cv=none; d=google.com; s=arc-20160816; b=BghPGK3k5uihlYberlsm3V5VTXvKAl8z+kzJlPtZI6o/+DOEQSx8o6zYTcJOOyrnFD vZAqHG90XbcskjDk6+M3834JOOaOHlkMiGRdyiNOdnmrlTckgjhdfaULJR865OX0ZAvm RxapUcmHw7pMarX65w654P11KT6vxMnZtZBQkb0RPcesJ6yVm+wbKgGn/RJhff8jpv6x W7VTx09Dnidotg6O4odH7N1KOIoMu5UTRv5yux6YAz0VYCPmENZlgqcmOZdejyZeroEi sYlOUIcW3Z+/OvBz0yxG3s+teXKiKGo0pR2ExoFZwEEdg97Wxom/zRnoqI/60vzF8xO4 6gDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=0xP3BnY5Oo5jPdgLVmQFsxOPOuyQzhEeHptpu8Dd8M0=; b=XxB4U8PzGUw0Ln90nhJc1BrAMR+rGImtPcq+HHNLvF0iO1g5dOAeurgKIsa5UYlgOo e8LcHTGzCtyd/VuaZGXR/Tqs/kZbqLXobdYVOx9d9lvFt0xL5knG+oSN7epb8dkrbEW0 owXvJuxX1Sokj1lfShE5l320Kvrqyv9vYFa15PYZb5ErhY5V2ptMjkgkENIt4HuBRHxh alOaHurQDHGrRSp0Xf9DYie4jdZM+BUsiUnoBPbS2M2LBoq/lKLdKx7yon25ISNtMGKO wOcWqNBLy05bSSYSv92bP/AbdOt42SlueO3rvKk+SxkFHJ5Gm92SmHw0VEnAXwGtIZgX DOMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BErcx5rh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z127-20020a636585000000b00452bab4de6fsi3202999pgb.749.2022.11.18.00.47.04; Fri, 18 Nov 2022 00:47:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BErcx5rh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241281AbiKRIoX (ORCPT <rfc822;a1648639935@gmail.com> + 99 others); Fri, 18 Nov 2022 03:44:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241426AbiKRIoH (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 18 Nov 2022 03:44:07 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 988D48D4A8 for <linux-kernel@vger.kernel.org>; Fri, 18 Nov 2022 00:43:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668760987; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=0xP3BnY5Oo5jPdgLVmQFsxOPOuyQzhEeHptpu8Dd8M0=; b=BErcx5rh0zfGUAXtkwynv7978AqfETZAXpmQQDT5EISq04PAuNeXafnFGJbLCtYYTspDyL lubPo597E7YttLvYuunngSwVXUQIItEKoY2zF3RkOW8lNElbqZ3idU2Iknh3SH6e4cunTU Qod87WjzXqcL6QCZh3WJajzjCTVf2W0= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-591-usdEjcDrMzC56z2QGN2WKQ-1; Fri, 18 Nov 2022 03:43:02 -0500 X-MC-Unique: usdEjcDrMzC56z2QGN2WKQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C4A2085A59D; Fri, 18 Nov 2022 08:43:01 +0000 (UTC) Received: from plouf.redhat.com (unknown [10.39.194.179]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7098F1415119; Fri, 18 Nov 2022 08:43:00 +0000 (UTC) From: Benjamin Tissoires <benjamin.tissoires@redhat.com> To: Marcel Holtmann <marcel@holtmann.org>, Jiri Kosina <jkosina@suse.cz> Cc: linux-bluetooth@vger.kernel.org, linux-input@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Benjamin Tissoires <benjamin.tissoires@redhat.com>, kernel test robot <lkp@intel.com> Subject: [PATCH hid-next] HID: fix BT_HIDP Kconfig dependencies Date: Fri, 18 Nov 2022 09:42:54 +0100 Message-Id: <20221118084254.1880165-1-benjamin.tissoires@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749822983673556234?= X-GMAIL-MSGID: =?utf-8?q?1749822983673556234?= |
Series |
[hid-next] HID: fix BT_HIDP Kconfig dependencies
|
|
Commit Message
Benjamin Tissoires
Nov. 18, 2022, 8:42 a.m. UTC
If HID_SUPPORT is not selected, BT_HIDP should not be available, simply
because we disallowed the HID bus entirely.
Add a new depends and actually revert this file back to where it was 10
years ago before it was changed by commit 1f41a6a99476 ("HID: Fix the
generic Kconfig options").
Fixes: 25621bcc8976 ("HID: Kconfig: split HID support and hid-core compilation")
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/202211181514.fLhaiS7o-lkp@intel.com/
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
---
net/bluetooth/hidp/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On Fri, 18 Nov 2022, Benjamin Tissoires wrote: > If HID_SUPPORT is not selected, BT_HIDP should not be available, simply > because we disallowed the HID bus entirely. > > Add a new depends and actually revert this file back to where it was 10 > years ago before it was changed by commit 1f41a6a99476 ("HID: Fix the > generic Kconfig options"). > > Fixes: 25621bcc8976 ("HID: Kconfig: split HID support and hid-core compilation") > Reported-by: kernel test robot <lkp@intel.com> > Link: https://lore.kernel.org/r/202211181514.fLhaiS7o-lkp@intel.com/ > Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Applied to for-6.2/hid-bpf.
diff --git a/net/bluetooth/hidp/Kconfig b/net/bluetooth/hidp/Kconfig index 14100f341f33..6746be07e222 100644 --- a/net/bluetooth/hidp/Kconfig +++ b/net/bluetooth/hidp/Kconfig @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only config BT_HIDP tristate "HIDP protocol support" - depends on BT_BREDR && INPUT + depends on BT_BREDR && INPUT && HID_SUPPORT select HID help HIDP (Human Interface Device Protocol) is a transport layer