Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp272706pxx; Wed, 28 Oct 2020 04:41:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSDyjF2DJ4Gebt9zABHku20AP0gYe+rP9BpOqkVAlqVPsKPQzajFsVOt3dd0iqXT3P11x5 X-Received: by 2002:a17:906:1418:: with SMTP id p24mr7025503ejc.46.1603885301548; Wed, 28 Oct 2020 04:41:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603885301; cv=none; d=google.com; s=arc-20160816; b=QtXItoVM8XFwEaU00Bn3fUKw9v2xjlJU22EUMm/iCTM0xNPk0ZNEfIDmn8x+cxhXRU KplrwVeHbvM12JiXgQPmgaBtXxp3pyUZptCa4Eb028waTu9c+X0AwTfNzlEEMBmYuaTG bcoFc7SIcX0g2qrY5DL6h4FY70BOGj9QwnK/kATYRr+d689I4TASAlHdjzZ/D+Urxyno UyZfY28uANBd/bQd3klMz4jgTNH5ZN149AdknLL0d5a4mmQMGWOWs6wBM0cFOaz6y2vm OYdHdBCeqQxqL9ZQDpCsV5xbFbe/dDfcRl7ttFxt6VuhgA+O9AlXr2FjL4iXW3E4+nlh 97fw== 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=/RAhGwyfPQx+6/Wcrw2RfXaYYXXp8WI3hhmWip9c5SE=; b=kynT5ryRdxbJbeKORfEAGnxAjT8UqHhZgzU68SwhiJCrMmn4AZk7EPwBxROT4iNn9U F6twp29J1VAgoxj30/cHwtRYvmpVq2UwdOHl5bhcS7QqkdfKPOKHjJ/Y759Gzmc/MZeh gVCDFhwdkVn46YNrrjpvrYFBvgC+4aLho+TLZfG0T4G980atgTjuKkN1k9ztICgEbZ4A CtZAcwXY/waEDSndjM47w+C/juDDJe/VauWVkJyQ3rUXRCo8qS0xlrKJFV9rdcexS3e4 49AUc7nUU6Bmb23WlIHgIzi8eU/EA8Se21ncvsO3AU0eiPtZXdN2tY6ENnCMGNRvZjfo S/6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2shLAyWz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b6si3402013edu.343.2020.10.28.04.41.19; Wed, 28 Oct 2020 04:41:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2shLAyWz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1794104AbgJ0PJ4 (ORCPT + 99 others); Tue, 27 Oct 2020 11:09:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:38054 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1790040AbgJ0PDh (ORCPT ); Tue, 27 Oct 2020 11:03:37 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8D8FD21D24; Tue, 27 Oct 2020 15:03:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603811017; bh=LiIrEiwETVTgXBLW+un4dFfNAJQ7Zyu4Z/UTAqyR7kg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2shLAyWzEFVF+FGsyanv7Q3tTkPYe03XX/nmkNWM2CPUjRYugPYrz6n8PQClEE2Yr Gjc6kIXt4bphn7pwpBJmDhHUYV2f7Z6smr5U0obknd3xW/Ov2ubBNdpi9wtdZfeLwl KZz8jcwXEUs94MklstB6jzC+PhhNZKVeajt7SA2Y= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Necip Fazil Yildiran , Vineet Gupta , Sasha Levin Subject: [PATCH 5.8 343/633] arc: plat-hsdk: fix kconfig dependency warning when !RESET_CONTROLLER Date: Tue, 27 Oct 2020 14:51:26 +0100 Message-Id: <20201027135538.776203786@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135522.655719020@linuxfoundation.org> References: <20201027135522.655719020@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Necip Fazil Yildiran [ Upstream commit 63bcf87cb1c57956e1179f1a78dde625c7e3cba7 ] When ARC_SOC_HSDK is enabled and RESET_CONTROLLER is disabled, it results in the following Kbuild warning: WARNING: unmet direct dependencies detected for RESET_HSDK Depends on [n]: RESET_CONTROLLER [=n] && HAS_IOMEM [=y] && (ARC_SOC_HSDK [=y] || COMPILE_TEST [=n]) Selected by [y]: - ARC_SOC_HSDK [=y] && ISA_ARCV2 [=y] The reason is that ARC_SOC_HSDK selects RESET_HSDK without depending on or selecting RESET_CONTROLLER while RESET_HSDK is subordinate to RESET_CONTROLLER. Honor the kconfig menu hierarchy to remove kconfig dependency warnings. Fixes: a528629dfd3b ("ARC: [plat-hsdk] select CONFIG_RESET_HSDK from Kconfig") Signed-off-by: Necip Fazil Yildiran Signed-off-by: Vineet Gupta Signed-off-by: Sasha Levin --- arch/arc/plat-hsdk/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arc/plat-hsdk/Kconfig b/arch/arc/plat-hsdk/Kconfig index ce81018345184..6b5c54576f54d 100644 --- a/arch/arc/plat-hsdk/Kconfig +++ b/arch/arc/plat-hsdk/Kconfig @@ -8,5 +8,6 @@ menuconfig ARC_SOC_HSDK select ARC_HAS_ACCL_REGS select ARC_IRQ_NO_AUTOSAVE select CLK_HSDK + select RESET_CONTROLLER select RESET_HSDK select HAVE_PCI -- 2.25.1