mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 6/6] ARM64: backtrace: fix missing prototypes
Date: Fri, 30 Nov 2018 14:13:03 +0100	[thread overview]
Message-ID: <20181130131303.2934-6-l.stach@pengutronix.de> (raw)
In-Reply-To: <20181130131303.2934-1-l.stach@pengutronix.de>

Include header for unwind_backtrace prototype and mark dump_backtrace_entry
as static.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm/lib64/stacktrace.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/lib64/stacktrace.c b/arch/arm/lib64/stacktrace.c
index b8352c1454da..43911884466d 100644
--- a/arch/arm/lib64/stacktrace.c
+++ b/arch/arm/lib64/stacktrace.c
@@ -11,6 +11,7 @@
 
 #include <common.h>
 #include <asm/stacktrace.h>
+#include <asm/unwind.h>
 
 #define THREAD_SIZE 16384
 
@@ -45,7 +46,7 @@ int unwind_frame(struct stackframe *frame)
 	return 0;
 }
 
-void dump_backtrace_entry(unsigned long where, unsigned long from)
+static void dump_backtrace_entry(unsigned long where, unsigned long from)
 {
 #ifdef CONFIG_KALLSYMS
 	printf("[<%08lx>] (%pS) from [<%08lx>] (%pS)\n", where, (void *)where, from, (void *)from);
-- 
2.19.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2018-11-30 13:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-30 13:12 [PATCH 1/6] ARM: mmu64: include dma.h Lucas Stach
2018-11-30 13:12 ` [PATCH 2/6] ARM: nxp-imx8mq-evk: add missing prototype for nxp_imx8mq_evk_ddr_cfg_phy Lucas Stach
2018-11-30 13:13 ` [PATCH 3/6] ARM: ptrace: add mssing show_regs prototype in aarch64 path Lucas Stach
2018-11-30 13:13 ` [PATCH 4/6] ARM: interrupts64: add missing prototypes Lucas Stach
2018-11-30 13:13 ` [PATCH 5/6] ARM: add prototype for mmu_early_disable Lucas Stach
2018-11-30 13:13 ` Lucas Stach [this message]
2018-12-03  8:22 ` [PATCH 1/6] ARM: mmu64: include dma.h Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181130131303.2934-6-l.stach@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox