Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5506417rwb; Tue, 22 Nov 2022 00:33:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf62njPrhj8EAfjGhyiK2PmyvfPVODbTD6UJrMnNKi21RanKpreY9cPZlPaaxPYh2GsvJE4P X-Received: by 2002:a63:4081:0:b0:46f:e657:7d25 with SMTP id n123-20020a634081000000b0046fe6577d25mr20741825pga.347.1669106004181; Tue, 22 Nov 2022 00:33:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669106004; cv=none; d=google.com; s=arc-20160816; b=UvTInVT3dZ2ecSZ1ZdYC55z4C/ir0LCx0c41NYkjb2injfDVAEcYu4naRdOkn8qDyy X3S9h41w7FXSn3emZVJ8yeYo+FCaCmnumpCdVjddVPohyR68Mj2Wcs0opww0aN0pfXOR 2BlxXgdQh1GuKRb2hOUGy/ydoD0wSgTg38DUmgSIg2uPUA+Nv8p6WrWcIHWA0D7F7Z0Q aEMbSFhIhlz7eDrUGZX3AhpCtICd2PZ/CZjdqj06xpvKp+nJB6VfhaBlUpIDFOa5kwUR sulHmTto/5lr6DX85nS58mwMPkXqcAWhuXMKSbQrsxYJWLMFAxjU/RZLVyGS6cdgj6J1 wUjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=3JFIb21al6vPFch+jsR0brxaSur/8Ls+b86O7H41p3Y=; b=oFu60omU7bidnR6uMb6g3ExixkCkSl1wVvSN0PKYX5Jx8yq8ofAVrUK+tvyARwhabX E44FeLyoAN3SNW/M7OY5F9NXP1tQaTnEgZBRCBs5/86PapFyMHxkrtjlDcHUhPbv16r/ PNNjU+JlTkTiu99Uk484wZzuHE2BbiXisALVAyS0+FsZKxi99HXd44fYybGo7bASbHFd kHToPfxPJlBObUEoT0J/HBQjiL5DftTnyEQlmDsBoKRKffE2yV5CODOvigkJ428sXStT trUbtbaBznv96HIONrxNXUcGCedU6tRb4H+hwX/AYPg6wI6rAQKtBvVtVBj0Yucfovqj LnSg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l7-20020a170902f68700b0018388edd187si15829905plg.56.2022.11.22.00.33.01; Tue, 22 Nov 2022 00:33:24 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232997AbiKVIb6 (ORCPT + 99 others); Tue, 22 Nov 2022 03:31:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232801AbiKVIbf (ORCPT ); Tue, 22 Nov 2022 03:31:35 -0500 Received: from mx1.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16B3C41988; Tue, 22 Nov 2022 00:31:22 -0800 (PST) Received: from [192.168.0.2] (ip5f5aee3b.dynamic.kabel-deutschland.de [95.90.238.59]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 0E50161EA1932; Tue, 22 Nov 2022 09:31:20 +0100 (CET) Message-ID: <29fb52c0-155b-470e-10d5-5e3b2451272d@molgen.mpg.de> Date: Tue, 22 Nov 2022 09:31:19 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH -next] Bluetooth: Fix Kconfig warning for BT_HIDP Content-Language: en-US To: YueHaibing Cc: 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, benjamin.tissoires@redhat.com, linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221122034246.24408-1-yuehaibing@huawei.com> From: Paul Menzel In-Reply-To: <20221122034246.24408-1-yuehaibing@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS 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 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 … 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 [=n] > Selected by [m]: > - BT_HIDP [=m] && NET [=y] && BT_BREDR [=y] && INPUT [=m] > > Fixes: 25621bcc8976 ("HID: Kconfig: split HID support and hid-core compilation") > Signed-off-by: YueHaibing > --- > 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