Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp224967pxx; Wed, 28 Oct 2020 03:21:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykDR+ZSxxD62qTW4DUaZJD9k4I10JmmkNTtAvgk9G5ZBBFvf76cN40G0RfxQcOZAJB0Mxz X-Received: by 2002:a05:6402:1684:: with SMTP id a4mr7195412edv.319.1603880474768; Wed, 28 Oct 2020 03:21:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603880474; cv=none; d=google.com; s=arc-20160816; b=g3Ju5gE+lctE0eoWg5drxgV+b2R+g8ze7RyLvv1CsBviDrJrEbEv1/DdWK+dFyZ/w6 FAO+YLl3q3TvJjzun8xdPq/DbTNo//RAAV7THPDo8OaGdqd14YGw/bq6kkODbZ/6+GtJ ZwQPteLFxkPWyDVzAsX5eBEPDc13Gi1IJkMG9M0squmB5NHLFTdyRDMm4tf273zN05z3 PH+znsWg+ngK/hex4rv2WzSu3kZIU186JNMpKpla3yHTR54dr2vhlfFfuTA0KflAFxd+ KNcXQKiCKdGBQ8V/sYJVPzyHnR9rWy13NgtptaXvnCfX67SOeN6vP4GwAEL439M2VoSr JFWg== 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=muqrLSvh6YJdrXtiShDCIxHFCjB+Jz/XJESEpitLgaaq7IxLqeUjW+Ul8qgS/d578i gr/nFTptCLpR+T+jX4czQXzFehvJ6RumR4HwsNTP1D9MH//pTsFz5s9x9dH3jphXJalA FOWnLK3V2RufiW4uKoF6kkeqnWvUP0JjLh+g1WlWUvdqxwhC2PoWZYPLuWEze2V2sLPi s1Es2o+/I+vfyZhVvDX9qJjTUu69eJMpOQijAO4TVLxoLGeyEOpWeWxClB/6Iya8wqSo t6bTCpqE4hFJ9NsIotTYOIkOWLWg50PC8qMlTe2hb1wC18+HrBzim7kdfWyb81K3xhj7 s0oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mowyrWOT; 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 b29si2827715edn.354.2020.10.28.03.20.52; Wed, 28 Oct 2020 03:21:14 -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=mowyrWOT; 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 S1761152AbgJ0OiN (ORCPT + 99 others); Tue, 27 Oct 2020 10:38:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:37256 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761132AbgJ0OiF (ORCPT ); Tue, 27 Oct 2020 10:38:05 -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 63EFA207BB; Tue, 27 Oct 2020 14:38:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603809485; bh=LiIrEiwETVTgXBLW+un4dFfNAJQ7Zyu4Z/UTAqyR7kg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mowyrWOTBvbq8Y+sfa7yV/vkBUrN3xMnQlUAUsgnfFMD+9F4BN0v+nqDbWixNhFdg C6yrJRV1JgqSWoiUqHJk1JZRoscPTRK0WtF086acf34qg7p8LUTfiMP9tkpH34zncm FnAUR4v4tzXV7VXnylbvZEj+HKREp0aPFuQrDE/8= 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.4 211/408] arc: plat-hsdk: fix kconfig dependency warning when !RESET_CONTROLLER Date: Tue, 27 Oct 2020 14:52:29 +0100 Message-Id: <20201027135504.885391340@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135455.027547757@linuxfoundation.org> References: <20201027135455.027547757@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