Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3926170pxb; Mon, 21 Feb 2022 08:26:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJyxFl8J2V1ln3zaUBKnnRPpFi4mk6vZ+uj0k5xrPWYNjYUK2P7B+kYXUPOutbGQQntSTCT4 X-Received: by 2002:a17:906:2619:b0:6cf:54ad:fff3 with SMTP id h25-20020a170906261900b006cf54adfff3mr16764160ejc.262.1645460819429; Mon, 21 Feb 2022 08:26:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645460819; cv=none; d=google.com; s=arc-20160816; b=pTOyTJicsBfpzsUmIdQyI21AiDmwAZ6QhMSP7iXuYCk4+uZ715TKQ1UugKpb/l0jZS R88VibU1J2aFtxmXK4FttnSHPVBJpr8AOlueFajjawfp90UqFDoafnbN3ziVT/YpjwBJ 8grpXSIqYY11tfd8Gp2v54zL0WjsezXW/7hWKbfhEh5Yr7zHOmerelntGIa7G45T9Pz7 MQta2WvVUvGwcGaemwHxtyHHeO58O+PW/YBsJKTbjdEiCw6rbd1IBHJHH9jvIbVeYEEl 6/jzXZYBP5rxmyhW3bGvjGIRH2wW4ogLgJRqEQgAy2IfUtmB1XrqQl1X674i+besj0Dx trJQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=2p6k/9GiRVROUTurbGm6x1lkX4+jzLgaAsUFGe5V8KI=; b=aYt/LXS5GyD1k7+l0+gD3EDSxkZoGLiDU+osvvNzRctvnXfbIcemrYkolwQ9afPZ+j Z7dSbkU5gsHp6OJ3laCHrrCdYj0dxlFBsdK2E0hNkDeinexaTYIGjWntBuCBSkaqwKb2 jRIK//YLtQFsL+Fa5u/D8LiticpnhdO6sWsYKuy+0X674k1QiFy6jbVfZ2pwl/Rv6Y2I pJA+X3Poz4Yp6kZtpmmrSBh/7JzkB1SjuKqL4yXqxyQ7w/jaGYr9Pe+zEj/+wFZCQDKo xsf8ar21ewuRCxn/AJdiwEJomBRjgqOa83XAemvZJbRrRKGiQovleb7Sn/V18tJeS1gd gVXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=G6IFTIkF; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e22si2950322ejs.805.2022.02.21.08.26.36; Mon, 21 Feb 2022 08:26:59 -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=@linuxfoundation.org header.s=korg header.b=G6IFTIkF; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352081AbiBUJy1 (ORCPT + 99 others); Mon, 21 Feb 2022 04:54:27 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:41680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352497AbiBUJrc (ORCPT ); Mon, 21 Feb 2022 04:47:32 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1EEE33E25; Mon, 21 Feb 2022 01:20:02 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3DDB660EB3; Mon, 21 Feb 2022 09:20:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24C32C340E9; Mon, 21 Feb 2022 09:20:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1645435201; bh=5oevNkWltuZ5z9s8IhiJQ2Gtu7X4d4URKOU16CHikIM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=G6IFTIkFBXs+UXGUyV4L+NPdC3OikZeLtx78B6/fPVYxzDA75cLElT/hv896ig3vj HHui1GF6BuYb+yKwhLzLoQ9km3ZkD8pb3CmIo0JzbvBJu06MGt2W1L5mlPOq2/spgj K9POCU+ikTP7TfpRFgKlEt72v+1l8lv8OgtZtZLg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Julian Braha , Linus Walleij , Sasha Levin Subject: [PATCH 5.16 049/227] pinctrl: bcm63xx: fix unmet dependency on REGMAP for GPIO_REGMAP Date: Mon, 21 Feb 2022 09:47:48 +0100 Message-Id: <20220221084936.506928008@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220221084934.836145070@linuxfoundation.org> References: <20220221084934.836145070@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-kernel@vger.kernel.org From: Julian Braha [ Upstream commit 3a5286955bf5febc3d151bcb2c5e272e383b64aa ] When PINCTRL_BCM63XX is selected, and REGMAP is not selected, Kbuild gives the following warning: WARNING: unmet direct dependencies detected for GPIO_REGMAP Depends on [n]: GPIOLIB [=y] && REGMAP [=n] Selected by [y]: - PINCTRL_BCM63XX [=y] && PINCTRL [=y] This is because PINCTRL_BCM63XX selects GPIO_REGMAP without selecting or depending on REGMAP, despite GPIO_REGMAP depending on REGMAP. This unmet dependency bug was detected by Kismet, a static analysis tool for Kconfig. Please advise if this is not the appropriate solution. Signed-off-by: Julian Braha Link: https://lore.kernel.org/r/20220117062557.89568-1-julianbraha@gmail.com Signed-off-by: Linus Walleij Signed-off-by: Sasha Levin --- drivers/pinctrl/bcm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/bcm/Kconfig b/drivers/pinctrl/bcm/Kconfig index 8fc1feedd8617..5116b014e2a4f 100644 --- a/drivers/pinctrl/bcm/Kconfig +++ b/drivers/pinctrl/bcm/Kconfig @@ -35,6 +35,7 @@ config PINCTRL_BCM63XX select PINCONF select GENERIC_PINCONF select GPIOLIB + select REGMAP select GPIO_REGMAP config PINCTRL_BCM6318 -- 2.34.1