Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1545591pxp; Thu, 17 Mar 2022 11:13:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxeRwh0mIiCxBxUYejlqTkA4heZ6Wpt14hl4Shw6vTsllI/5lZKgRJ/AEbO9ytLBKPxghMr X-Received: by 2002:a63:d64d:0:b0:374:6edc:989c with SMTP id d13-20020a63d64d000000b003746edc989cmr4687267pgj.434.1647540785689; Thu, 17 Mar 2022 11:13:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647540785; cv=none; d=google.com; s=arc-20160816; b=Ix/CHbyqvhSHLrVHcDhFZQj4CpKXyubrc7C6mcMC82nOvvqHoMy8sHso7wDxh59csi ET7rTsqMhPkzhBU1fPVDFtmTZaRcpLYcNxIseIv1GyFXb3A11/V9LUKMhNOzxxdKtrTF M3vSTd7db5qwhzAkmTuunzkFdhKgqLs+iArPhWLTZGNgLJtyVufHfpbK0h2Q9NOUe5Wi s0F78Tq6lhMgoWjse5H4sqE7l34w46uosQPJGcvjJYFellbix/NtOSCF8DxA7KVxHUg/ 3zgBDSxOEGU1FeFiRKy86a5P1q37Qn4A9nIzvyGNq2Mq4JbxUUe3sJmJZ0r5nyRQg30C yTYw== 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=SkHbCw1Dy1KwuQbqC0Blcgi0z4A5KifXzW2+gmoNpCM=; b=FKdnWSuXCEi2SLG2o18qRbs9Pf1dqwXltypqO5O6/l2KJ1cxWR3R+Cb5V/gKIL/DuF +DHdOuPABmH5klCYekk5BNMPl/e3/vgtvmaHL9eocdbkSkELIIlY1L32/2f4x5KQvvvV XfF5AfWae3fxkSVZB1ok5BRzY2bYFN9FsGXFWYG4Bv/tumazUGG1OY1SpJpkXHWYQFmv du/DiTd8rVEZ83fRPW3H8PoFsE/qL2rAQ5O4MEvNOMIDnN9c4AQ5RqVttY2i7/vQK/ew dC6YdKyjOB7SiGJGCX2OR8qXk6u2VVupFM0ypMjcmCXDIutz+qaVUc/lohk2yCZmA6ij XwqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KYYM5KeA; 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 n6-20020a170902d2c600b00153d09f9292si4780973plc.347.2022.03.17.11.12.50; Thu, 17 Mar 2022 11:13:05 -0700 (PDT) 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=KYYM5KeA; 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 S233992AbiCQMuO (ORCPT + 99 others); Thu, 17 Mar 2022 08:50:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233944AbiCQMtp (ORCPT ); Thu, 17 Mar 2022 08:49:45 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67FDD1F1629; Thu, 17 Mar 2022 05:48:15 -0700 (PDT) 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 ams.source.kernel.org (Postfix) with ESMTPS id E7651B81EA0; Thu, 17 Mar 2022 12:48:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA4A8C36AE2; Thu, 17 Mar 2022 12:48:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1647521292; bh=Dm/LD2dDTvLmsg3m5Yi7zDqvDVviXv1hULbqhrMd73k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KYYM5KeAjEZSsSc3m933gOe9/OSpaBNq4HAUV1rIi6GU1Pd6yAWwh50SlXR3gN/dI z3UDZ2mL08miTepqJhMcb+Bcd7VPCQNMi4DH+DCEwHhrEqEAe/Xr0GA+/v5TnJ7OW8 I1cpZmQTMUt6t7iEIswnMMKumgssUjUzLPHsWV3E= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Julian Braha , "Russell King (Oracle)" , Sasha Levin Subject: [PATCH 5.4 34/43] ARM: 9178/1: fix unmet dependency on BITREVERSE for HAVE_ARCH_BITREVERSE Date: Thu, 17 Mar 2022 13:45:45 +0100 Message-Id: <20220317124528.616695237@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220317124527.672236844@linuxfoundation.org> References: <20220317124527.672236844@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=-8.6 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 11c57c3ba94da74c3446924260e34e0b1950b5d7 ] Resending this to properly add it to the patch tracker - thanks for letting me know, Arnd :) When ARM is enabled, and BITREVERSE is disabled, Kbuild gives the following warning: WARNING: unmet direct dependencies detected for HAVE_ARCH_BITREVERSE Depends on [n]: BITREVERSE [=n] Selected by [y]: - ARM [=y] && (CPU_32v7M [=n] || CPU_32v7 [=y]) && !CPU_32v6 [=n] This is because ARM selects HAVE_ARCH_BITREVERSE without selecting BITREVERSE, despite HAVE_ARCH_BITREVERSE depending on BITREVERSE. This unmet dependency bug was found by Kismet, a static analysis tool for Kconfig. Please advise if this is not the appropriate solution. Signed-off-by: Julian Braha Signed-off-by: Russell King (Oracle) Signed-off-by: Sasha Levin --- lib/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Kconfig b/lib/Kconfig index 3321d04dfa5a..fa129b5c4320 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -42,7 +42,6 @@ config BITREVERSE config HAVE_ARCH_BITREVERSE bool default n - depends on BITREVERSE help This option enables the use of hardware bit-reversal instructions on architectures which support such operations. -- 2.34.1