Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1634107pxp; Thu, 17 Mar 2022 13:12:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxiEu+tFpWleHbYswoSYOytHs7byB48ZKu65B/nniGHBZyOglW1zff4gVV7Ve4Xc90z010 X-Received: by 2002:a17:902:e845:b0:153:aa16:d74f with SMTP id t5-20020a170902e84500b00153aa16d74fmr7046039plg.18.1647547943920; Thu, 17 Mar 2022 13:12:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647547943; cv=none; d=google.com; s=arc-20160816; b=uMthTzQKiqw5rGEW0wADnh1ody8zxJRQi8EAqFZh/HvPRMNE5/+oR5bf2o80gigQzz UYvdarSmMEH2izKXujqNGwDBh4OKFtOip3JFoiNhxahdiYVGu+G6i6P/7lXBVKBiMf6p dfZ9N7AY3MaQniRPRCkrVaM/SUrh4XBkIAizD2sxf+a67opd8zNXfCQ/fPs983rbYNeI LQhnWVdPjdymgYUiosegfn8M3zlGKMEskIzzdMtFTxg8cSxOS4K9CimBKbNqU9o9KAs+ bMNBK0JJcc/JLYYrmKLNATegbKQ6YRKUWMfMgcHOmv/Lg5duAzE3rS5QVezeuTGnqH/B 1sCA== 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=D0MHNeB8fpKwUHo4AdJWJzbwu7SeROMjpsQRbzb4E4A=; b=HE/ciUo0Xd9Xmtd2Mm4Ff4cj4bpbrspN0xAm36K2fhuWvpa+b5+oqbeywUmuwP7Pvg PDB4ybTyCm/+RWvyTOqAshXsh6JUL2yZ9eKoZJ6zu/gXwrLPSGHnifMRZv4qoVact0g+ OEOuvJV10b1mdfJAsl64NBh/lTLXPBdo4vFUmNWn6LYwjRzQ22XyoHvRB9VZ9W7Bv9bA HHKRWs2hJAwnSyPqpOv8rwhQekmy6DOtdqi9+hxqLWx95TwZGZPjBawuw/1Ivhlv2tae F2oyVErHGG2g6m7gby5cMs61prUGhRUAV7CE63fvJx9Pt/PksG9t91kXa7FE7b8XYHkx zBzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fnfoUsIA; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id r9-20020a632049000000b003816043ee80si2894656pgm.117.2022.03.17.13.12.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 13:12:23 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fnfoUsIA; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3B5712A046C; Thu, 17 Mar 2022 12:57:48 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235473AbiCQM7C (ORCPT + 99 others); Thu, 17 Mar 2022 08:59:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234938AbiCQMyJ (ORCPT ); Thu, 17 Mar 2022 08:54:09 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02817399; Thu, 17 Mar 2022 05:52:53 -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 B0834B81E01; Thu, 17 Mar 2022 12:52:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EBE05C340E9; Thu, 17 Mar 2022 12:52:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1647521570; bh=qyUSrm97P+ZfSNFz2/ZXRa42gbGKX1WKDF/8LJIGHEg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fnfoUsIACdV+0LmgLbz1osSFDSaRqvvtMy0vVv0zhpNq7CiLliVPQa/CgYcdO7X30 GvMwsf4PREUBuPuVG6HD4LzEzR8lsmP8hCZr6YCzTWS8EGeJr0PYaPNzLGJif1Aylt dAPdZGQMRy6d+PMT0EO8tfToVbNhI5i7lS6tDcWQ= 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.16 14/28] ARM: 9178/1: fix unmet dependency on BITREVERSE for HAVE_ARCH_BITREVERSE Date: Thu, 17 Mar 2022 13:46:05 +0100 Message-Id: <20220317124527.173456091@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220317124526.768423926@linuxfoundation.org> References: <20220317124526.768423926@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=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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-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 5e7165e6a346..fa4b10322efc 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -45,7 +45,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