Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22D9CC4332F for ; Wed, 24 Nov 2021 12:27:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243897AbhKXMax (ORCPT ); Wed, 24 Nov 2021 07:30:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:38272 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245053AbhKXMYf (ORCPT ); Wed, 24 Nov 2021 07:24:35 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8C3CF6108E; Wed, 24 Nov 2021 12:15:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1637756112; bh=usEE6zflf0JThIlwKSzfmuqITTuKdTxDaYKZf87oCtQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Vr3psIwiFG8yyXUxCmPd1vbc5MCZ/ba14YpZeVhBj4s8l6k3bfl56be/qNB2q2tqB HJtzPCsCLtGjZEAcmkTcdS/JwP4o0rqel3AO48yX6ufy5fQvci7SO2ImKXV62zSwsv VCZCteCS4uAWa4oy3oNBEcUoP6rsjBe0eT/TN3GY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , Matt Fleming , Matt Fleming , Yoshinori Sato , John Paul Adrian Glaubitz , Geert Uytterhoeven , Rich Felker , Sasha Levin Subject: [PATCH 4.9 177/207] sh: fix kconfig unmet dependency warning for FRAME_POINTER Date: Wed, 24 Nov 2021 12:57:28 +0100 Message-Id: <20211124115709.707520386@linuxfoundation.org> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211124115703.941380739@linuxfoundation.org> References: <20211124115703.941380739@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: Randy Dunlap [ Upstream commit fda1bc533094a7db68b11e7503d2c6c73993d12a ] FRAME_POINTER depends on DEBUG_KERNEL so DWARF_UNWINDER should depend on DEBUG_KERNEL before selecting FRAME_POINTER. WARNING: unmet direct dependencies detected for FRAME_POINTER Depends on [n]: DEBUG_KERNEL [=n] && (M68K || UML || SUPERH [=y]) || ARCH_WANT_FRAME_POINTERS [=n] Selected by [y]: - DWARF_UNWINDER [=y] Fixes: bd353861c735 ("sh: dwarf unwinder support.") Signed-off-by: Randy Dunlap Cc: Matt Fleming Cc: Matt Fleming Cc: Yoshinori Sato Cc: John Paul Adrian Glaubitz Cc: Geert Uytterhoeven Reviewed-by: Geert Uytterhoeven Tested-by: John Paul Adrian Glaubitz Signed-off-by: Rich Felker Signed-off-by: Sasha Levin --- arch/sh/Kconfig.debug | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sh/Kconfig.debug b/arch/sh/Kconfig.debug index 5f2bb4242c0f7..c50c397cbcf75 100644 --- a/arch/sh/Kconfig.debug +++ b/arch/sh/Kconfig.debug @@ -60,6 +60,7 @@ config DUMP_CODE config DWARF_UNWINDER bool "Enable the DWARF unwinder for stacktraces" + depends on DEBUG_KERNEL select FRAME_POINTER depends on SUPERH32 default n -- 2.33.0