Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp263651rwb; Fri, 18 Nov 2022 00:46:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf4v94dzGPZMZn8skQ0ubq7ENLoun1IgUr7BQSOB3WaRIyK4Be0tedARMmeEW97ub0opc3Hs X-Received: by 2002:a17:90a:5317:b0:213:34f7:fb14 with SMTP id x23-20020a17090a531700b0021334f7fb14mr12406388pjh.25.1668761191190; Fri, 18 Nov 2022 00:46:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668761191; cv=none; d=google.com; s=arc-20160816; b=ExiPwjwWktaJDqYE2nUx2sFCyS6f3Cx49/ZvkEoO6pbrQ/Ew11rWKDuEkFGFdbMCDZ 0i+8GYefky1Ijuwt7T7vRYDNzW360mV3xV/X9dNFxgyOtGFgjURstnLivqtVeMaMReip KMK6uFqW16o+o2QAksHXdewL0Tox0Vc2NWwGxmPjeIMBX4cX7oFPyaoOpeuUtZOtOCVq c6rlRLpjhc/2chZXOhtRIbZjpwJtfRK0GQ9S44WdgDv55a2BCRq2hVTuhdeBLjqTTFv/ YSx1PrC/IgwVinGp/zLwD7pfZ0Tc5pzr+G06l65xntSBCJyaDTRJFFZQw1ah/AG9bXxz YbLw== 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=YJznz8n7HRF5rSi72k2lUSRxDF9iJGCkcFVjrt8DZdiXUn/j8vRCYmAesUehrdgZVH VfBjb0E99Fwkcr+1WNQe6AAyuF3KhOkQYTnU6SdULR+6rAnGeKQFNHTVWoSddTXjpKfF O7lar6vJMrQoENdRqUWHf2wtSuPTjfDtrc3Bjm7xfhpLBh05TCaKDjxQyFM76yNOTAK4 l3vKWNoxtu5bqAc6shTw+X4aRRDREZ0e5NfG9ApMyQLDaOQeguz2h9BcHFDmwnfv8Xtx 9tHZ7wQ8J+OjEBhkxA5c7Zoa/WLSFd08kBNO78OnWQzaQ9jp7uSLB8422RWGveQaZJNV HXfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IxnWzAyF; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bj9-20020a170902850900b00186a8bd137fsi2919655plb.453.2022.11.18.00.46.18; Fri, 18 Nov 2022 00:46:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-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=IxnWzAyF; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-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 S241173AbiKRIoV (ORCPT + 99 others); Fri, 18 Nov 2022 03:44:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241598AbiKRIoH (ORCPT ); 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 536516E55C for ; Fri, 18 Nov 2022 00:43:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668760985; 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=IxnWzAyFIIf33f7jqjC4bqNRnrL3InPt+y+izP3ejMosRr2x/jxR+Tio+WKj+spFhys/3h Cqwk9bwxqQomTldUwrxijfajiXuGj37jlgvRpKuQ+QpJoXA+HnS8lXV/eFu6LV9/YR4agI FRjyUNZ7QyU6AsdJPgw9yKDKm8nQoVk= 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 To: Marcel Holtmann , Jiri Kosina Cc: linux-bluetooth@vger.kernel.org, linux-input@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Benjamin Tissoires , kernel test robot 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: X-Mailing-List: linux-bluetooth@vger.kernel.org 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 Link: https://lore.kernel.org/r/202211181514.fLhaiS7o-lkp@intel.com/ Signed-off-by: Benjamin Tissoires --- net/bluetooth/hidp/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.38.1