Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5538554rwb; Tue, 22 Nov 2022 01:08:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf7wtX56kQiQ0HUEHCsviOifHzeC6J06NJE1YMQkb8RiFyghP+Uce7VnqMIGv2WneFumoG0o X-Received: by 2002:a17:906:448b:b0:7ad:8bd5:b7df with SMTP id y11-20020a170906448b00b007ad8bd5b7dfmr3695247ejo.57.1669108134332; Tue, 22 Nov 2022 01:08:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669108134; cv=none; d=google.com; s=arc-20160816; b=ct6ibY3kfrd9rnW+UEMqKtCWS/DMbWoh7D/spThb7+DT98Tr7GPgP9AEUxD9seoyiK ga4Up/Ual1Lf7Z2Yvt+Yz5GMf/djsh2KD3FHXf3DySl3n9FQqUkAEZ4vd8pyKfkRcLCf 7PfTiVXEGEKC40+AgMNc1eFNQzfXSqe3HO34Ey2FKz+V6Du0dZQh/c4BDCFXeiGPn7WO SNpsP2/JHUDLpEZtWRdsbec/3l/Q2/XlhCQ2zWwuONEEpkks1zr07llvOvwBZdXQy9et Iy+4I7J778Hc2f9n+tKkBO93JTNPdj/gmzz4A1fF5/sVs79UsdNR+tYLdALw+sdmSpf2 63gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=wXCLVuWe4heHUFwjtIeuGbx591KChmJODX4iIb4c9Gw=; b=b9EpynIq9zV7XsDN5NsG89oFmhHMnn+VlP6vPaWi/zQCD7VIOreC8YNZCnFjJPrqhc 8w4hIoVrYhpwyNEpw+2O/JNsV/cxdFqtrUyM2z4xyW0zhno/mti91V8rsUv1BZq7fS1e U8QZN1wRhg2jVvr+JrxOOkym3LIv4Q8ZKV07ZKax8w9A2iX3gj5Rd87uWQYRtL4DQzA3 tcm2cHd5+a2JwJxETw75Bs4PHotUUAqXXnpq1b8gAL8IMCKER8xygHqIJNt2Kgc6PzqF sfNvAQuhScZxO839GHSAqIYk4sfppqf8cjrqJd71ILrOKgMvVOll+Z3qrfunrTKcDMsR 9cGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TshBEE3b; 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 c13-20020a170906340d00b007ae4717bf18si8984699ejb.156.2022.11.22.01.08.05; Tue, 22 Nov 2022 01:08:54 -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=TshBEE3b; 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 S233165AbiKVJHa (ORCPT + 99 others); Tue, 22 Nov 2022 04:07:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233175AbiKVJHT (ORCPT ); Tue, 22 Nov 2022 04:07:19 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E218818E01 for ; Tue, 22 Nov 2022 01:06:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669107975; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wXCLVuWe4heHUFwjtIeuGbx591KChmJODX4iIb4c9Gw=; b=TshBEE3bagV1ObKt0m1zjuLeoFfIaCBwZDCazoHeoDUi39VADNbztE0CN/1rVjBoXBWVJD ZD3OeytY1gvIKkAGEGNJOIld6kYS57ogTbLminoUP3Mts6pvSrAQyd9t5DwKJlmfadX+3M 575QZL+Gignw0lQFD284KFmTstrXDE8= Received: from mail-il1-f198.google.com (mail-il1-f198.google.com [209.85.166.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-20-REcelj4BM2mDNTfIFz29JA-1; Tue, 22 Nov 2022 04:06:13 -0500 X-MC-Unique: REcelj4BM2mDNTfIFz29JA-1 Received: by mail-il1-f198.google.com with SMTP id j7-20020a056e02154700b003025b3c0ea3so10313468ilu.10 for ; Tue, 22 Nov 2022 01:06:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wXCLVuWe4heHUFwjtIeuGbx591KChmJODX4iIb4c9Gw=; b=jVptZUgXrXxkFe0C2RjSWYhFdfzz46XUDY8b81bCOSwlsV9ayWGXG52GblquGo8141 rjlpPE4Luv0Cfr+s7gSqJSvWXrl3VKjH13sOoxRYMclozwRxU2ktTTB94U00O2D4+r6Q ekf76SaSj7tUyvjxKgLgKheb9nbO/KslZUPL+COmVIC0qUGFZ9uRHfBXQNJtQPYMKRAI QCdHIDp0ja021AdVz62AxOpHB65cKUP5YSPiBL3ypk8HwGfwYqDWLvhtCkqNobQmoioi QEY/iRW/4ELAmKswYbCIakgMO2dGBiKXA+/B+yHQTfLwbsX6SsKAYwIXdH2mWhue4Q2o 0sog== X-Gm-Message-State: ANoB5pkuXQXpg2jCF6ac71sLhQaKIIiav0h6IuiFQ3jU44QjSuiUq9if xKE7LcCVyfoeYgfDNR96b/G80K+Io8nzooPP2n06oPp9bQQSiq9ezsAXhmDl9W9cgHLk7syBP+1 J9FvgaxusEckK2eMx5rpcbEe8bWInzatq1DzOmKNN2rO8 X-Received: by 2002:a02:a089:0:b0:375:2a78:73fd with SMTP id g9-20020a02a089000000b003752a7873fdmr9902550jah.217.1669107973170; Tue, 22 Nov 2022 01:06:13 -0800 (PST) X-Received: by 2002:a02:a089:0:b0:375:2a78:73fd with SMTP id g9-20020a02a089000000b003752a7873fdmr9902539jah.217.1669107972919; Tue, 22 Nov 2022 01:06:12 -0800 (PST) MIME-Version: 1.0 References: <20221122034246.24408-1-yuehaibing@huawei.com> <29fb52c0-155b-470e-10d5-5e3b2451272d@molgen.mpg.de> In-Reply-To: <29fb52c0-155b-470e-10d5-5e3b2451272d@molgen.mpg.de> From: Benjamin Tissoires Date: Tue, 22 Nov 2022 10:06:01 +0100 Message-ID: Subject: Re: [PATCH -next] Bluetooth: Fix Kconfig warning for BT_HIDP To: Paul Menzel Cc: YueHaibing , marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, jkosina@suse.cz, gregkh@linuxfoundation.org, linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=ham 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 Hi, On Tue, Nov 22, 2022 at 9:37 AM Paul Menzel wrote: > > Dear YueHaibing, > > > Thank you for your patch. > > > Am 22.11.22 um 04:42 schrieb YueHaibing: > > Maybe use the more specific summary below: > > Bluetooth: Add HID_SUPPORT dependency for BT_HIDP > > > commit 25621bcc8976 add HID_SUPPORT, and HID depends on it now. > > add*s* > > or > > Commit 25621bcc8976 ("HID: Kconfig: split HID support and hid-core > compilation") introduces the new Kconfig symbol HID_SUPPORT =E2=80=A6 > > > Kind regards, > > Paul > > > > Add HID_SUPPORT dependency for BT_HIDP to fix the warning: > > > > WARNING: unmet direct dependencies detected for HID > > Depends on [n]: HID_SUPPORT [=3Dn] > > Selected by [m]: > > - BT_HIDP [=3Dm] && NET [=3Dy] && BT_BREDR [=3Dy] && INPUT [=3Dm] > > > > Fixes: 25621bcc8976 ("HID: Kconfig: split HID support and hid-core comp= ilation") > > Signed-off-by: YueHaibing > > --- FWIW, a fix is already in -next: https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git/commit/?h=3Dfor= -6.2/hid-bpf&id=3D6cc90ccd4f6cfed98e2a3a378debc69f28d57473 But thanks for the patch nonetheless! Cheers, Benjamin > > > 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 >