From patchwork Tue Oct 5 00:19:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 12535151 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9BE7DC433EF for ; Tue, 5 Oct 2021 00:19:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 826ED613AC for ; Tue, 5 Oct 2021 00:19:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230234AbhJEAVI (ORCPT ); Mon, 4 Oct 2021 20:21:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230105AbhJEAVH (ORCPT ); Mon, 4 Oct 2021 20:21:07 -0400 Received: from bombadil.infradead.org (unknown [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76BD0C061745; Mon, 4 Oct 2021 17:19:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=vsKe9UWyhtw4LqDXqkhd7Dlz2yQ8HnD8Ggqg0cwCms8=; b=CLI0kUDVGj3h11GXz4duhSgG95 lDJ8UxNeHrjJjRsRI4W+JM11uxbnhK3rIKWWB8YEua0SvSGY1sVBsOmrCpiuZ+Cer/vrUNjvkmqXa lxB1DvncVG6PKvgOdCTftt3hb7twtQKvBL5y7Mcqw3TM2Iambmytt+aHDkwaRxVucERIGgXzWN1tA MQF/NUdJhGBoEFHfLYHFSp8CeTiP4hxm0Im42xDv7EXzwSg1vA4THKZLMJNdyGOXjfGB2tRSVJlOf DTWEC9hTTyRJHvJZOLQmi2rOxNTDtiYAGJORO72EM944EflNnh7QROk1gStGV7De16TvnFx6dAbWW TBs84Lgw==; Received: from [2601:1c0:6280:3f0::aa0b] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mXYAt-008SGi-FB; Tue, 05 Oct 2021 00:19:15 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Yoshinori Sato , Rich Felker , linux-sh@vger.kernel.org, John Paul Adrian Glaubitz , Geert Uytterhoeven , Matt Fleming , Matt Fleming Subject: [PATCH 1/5 v3] sh: fix kconfig unmet dependency warning for FRAME_POINTER Date: Mon, 4 Oct 2021 17:19:10 -0700 Message-Id: <20211005001914.28574-2-rdunlap@infradead.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211005001914.28574-1-rdunlap@infradead.org> References: <20211005001914.28574-1-rdunlap@infradead.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org 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: Rich Felker Cc: linux-sh@vger.kernel.org Cc: John Paul Adrian Glaubitz Cc: Geert Uytterhoeven Reviewed-by: Geert Uytterhoeven Tested-by: John Paul Adrian Glaubitz --- v2: drop Paul Mundt from Cc: list; add this previously sent patch to the series; add more Cc's; v3: renumber, rebase, and resend; add Rev-by and Tested-by; arch/sh/Kconfig.debug | 1 + 1 file changed, 1 insertion(+) --- linux-next-20211001.orig/arch/sh/Kconfig.debug +++ linux-next-20211001/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