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 DB2FBC433F5 for ; Wed, 24 Nov 2021 13:32:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348266AbhKXNf4 (ORCPT ); Wed, 24 Nov 2021 08:35:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:46294 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351568AbhKXNc2 (ORCPT ); Wed, 24 Nov 2021 08:32:28 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id C138061BD1; Wed, 24 Nov 2021 12:53:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1637758382; bh=Tg+6A1slWOVltCdKUVh0hival0C3tyiewFxYm7nMwOc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A1/9SykltyUMeXKmm4KjNB31FwNdNsqrIVR7JERbMpkaqEKJMkBfirs5vdY4uyUqF MQKcHQcolEz4V6VjiCpCm3zuelWmSn0qdnzmi4wpJYfy+5q20KxoG46nLYn1A+uzPH CvksqcILPJGQ1zto/aca8xj2svLSzFm1btw0CzVU= 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 5.10 052/154] sh: fix kconfig unmet dependency warning for FRAME_POINTER Date: Wed, 24 Nov 2021 12:57:28 +0100 Message-Id: <20211124115704.014877809@linuxfoundation.org> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211124115702.361983534@linuxfoundation.org> References: <20211124115702.361983534@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 28a43d63bde1f..97b0e26cf05a1 100644 --- a/arch/sh/Kconfig.debug +++ b/arch/sh/Kconfig.debug @@ -57,6 +57,7 @@ config DUMP_CODE config DWARF_UNWINDER bool "Enable the DWARF unwinder for stacktraces" + depends on DEBUG_KERNEL select FRAME_POINTER default n help -- 2.33.0