[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210526070305.20502-1-rdunlap@infradead.org>
Date: Wed, 26 May 2021 00:03:05 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: linux-kernel@...r.kernel.org
Cc: Randy Dunlap <rdunlap@...radead.org>,
Matt Fleming <matt@...sole-pimps.org>,
Matt Fleming <matt@...eblueprint.co.uk>,
Paul Mundt <lethal@...ux-sh.org>,
Yoshinori Sato <ysato@...rs.sourceforge.jp>,
Rich Felker <dalias@...c.org>, linux-sh@...r.kernel.org
Subject: [PATCH] SH: fix kconfig unmet dependency warning for FRAME_POINTER
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 <rdunlap@...radead.org>
Cc: Matt Fleming <matt@...sole-pimps.org>
Cc: Matt Fleming <matt@...eblueprint.co.uk>
Cc: Paul Mundt <lethal@...ux-sh.org>
Cc: Yoshinori Sato <ysato@...rs.sourceforge.jp>
Cc: Rich Felker <dalias@...c.org>
Cc: linux-sh@...r.kernel.org
---
arch/sh/Kconfig.debug | 1 +
1 file changed, 1 insertion(+)
--- linux-next-20210525.orig/arch/sh/Kconfig.debug
+++ linux-next-20210525/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
Powered by blists - more mailing lists