Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp593708pxx; Wed, 28 Oct 2020 11:57:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwG/fZ9TOxyAYzEWnHq7BezbpNJUJHOislLcoRj9CeER6256HOu9ZjbnODJbFv5bUwkucqh X-Received: by 2002:a17:906:aecf:: with SMTP id me15mr487705ejb.423.1603911464703; Wed, 28 Oct 2020 11:57:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603911464; cv=none; d=google.com; s=arc-20160816; b=IQDeK4SuUhvELJHk5yFeDbv5nW2q9SlNygKPkl3P0DRk0+oVDXYB5wRWUWwqNLztw0 nzJLAtQO/o3Dr12W90O73awt9wk2Uoxe8kWmScx3TKOZ25uh5w8lkyLIw4jGdhNFAWkZ 9OYfnLkjigia47zVQUUkOvLSSynzq8RzJL5u7f/ivnqpV8u3hto76lccRCaYW0z8SWjT OOGxa6RGHK6tVrk58LetRKu7mlYj/OBSmsbvG+kVJpaxil5enuyWMZKbeLR509Ovjhxw cb6OVpRO8SwFDdG4RBDhVV8jVa8ieBCh84btuhPIHSaB97AMZ5dvP3/mV/k4GWqxaX3Z dEnw== 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=yCbuNCXdiNxL45F+lteovyhn9/u2amf6y5ubrGB1DQQ=; b=v1FeoHoGFkpVgK3ydVSlJdG5ivoB5K5HoDiB/fnNSWrCCI6cTZW0ijgI/KUyhhDMSP 9jry6GSz8lfCDdCQPLNxfuIIHQ45RFLVieYb7p14YjP4UH7F50ycUq+k7VMZBcvhoSwv DjP9oF5TSIunLlDvHW9RrZ0tyx2ATD4csThsaEZAdjKSQCWiS7FpyRBhT5gwLtwnaQM6 RUnRx2NBNQ/fL3JkXJH33x8N+Q11hE+7nBGJ+F3JuG6gYBN/9KTsPqMkld0+Dig1lst6 3R6Iu+NM65WHRRf1ej3ZhCerq1b+eX387O1+SrMT/LgFvzY3UnBEoUj/4kGqdHgeM7NJ Sybw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oromGw+E; 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 ay1si32292edb.3.2020.10.28.11.57.22; Wed, 28 Oct 2020 11:57:44 -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=oromGw+E; 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 S1826096AbgJ0SQI (ORCPT + 99 others); Tue, 27 Oct 2020 14:16:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:33190 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756227AbgJ0OMG (ORCPT ); Tue, 27 Oct 2020 10:12:06 -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 ED046218AC; Tue, 27 Oct 2020 14:12:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603807926; bh=yEYA042sf4ka2XEdVDdQMC3K4r9cTvJuYr8xhDo+6/g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oromGw+EdNKUe3el/NVIHLl1M1VsxST0RrLRnM97sGWHmUvfnQE6EVyqpFCtA/hdd cIT8mViiFNh9Oj52qc/g6VWR+FfTRUGNcsd4kNS2kEt1APq+Ep4dOv9817+zTGByjX KyzRgxJas/m9nJsK1dObG3TGnu7iw2Cz9lkHblog= 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 4.14 092/191] arc: plat-hsdk: fix kconfig dependency warning when !RESET_CONTROLLER Date: Tue, 27 Oct 2020 14:49:07 +0100 Message-Id: <20201027134914.117716018@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027134909.701581493@linuxfoundation.org> References: <20201027134909.701581493@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 8fb1600b29b76..e5f65a044c7b9 100644 --- a/arch/arc/plat-hsdk/Kconfig +++ b/arch/arc/plat-hsdk/Kconfig @@ -11,4 +11,5 @@ menuconfig ARC_SOC_HSDK select ARC_HAS_ACCL_REGS select ARC_IRQ_NO_AUTOSAVE select CLK_HSDK + select RESET_CONTROLLER select RESET_HSDK -- 2.25.1