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 32ABAC4167B for ; Wed, 24 Nov 2021 13:51:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355090AbhKXNxu (ORCPT ); Wed, 24 Nov 2021 08:53:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:41816 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354297AbhKXNtL (ORCPT ); Wed, 24 Nov 2021 08:49:11 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 58E9361A6E; Wed, 24 Nov 2021 13:02:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1637758977; bh=KBjicrp1ylwp8JwVn424vDBoBysR3XZ08jFFAw+Q514=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D1X0WKBt9A81chOde5Fdq5xAvoBjujRpM+L560N3plA5+CTjSjvE+npkfCqITfTRw ztElGiIbXX1d451DFIiI1184D4JyB08WseGCsYmzOojM6cUkTpgHgixq120JuXCDnp dOpcU/crr9ikQOe4tdb0fpgDeawXwqTV/OY7o3Bk= 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.15 085/279] sh: fix kconfig unmet dependency warning for FRAME_POINTER Date: Wed, 24 Nov 2021 12:56:12 +0100 Message-Id: <20211124115721.649166877@linuxfoundation.org> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211124115718.776172708@linuxfoundation.org> References: <20211124115718.776172708@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 958f790273ab9..10290e5c1f438 100644 --- a/arch/sh/Kconfig.debug +++ b/arch/sh/Kconfig.debug @@ -54,6 +54,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