[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-kernel
Subject: Re: [hnaz-mm:master 29/122] arch/arm64/kernel/stacktrace.c:289:13: error: implicit declaration of fu
From: Andrew Morton <akpm () linux-foundation ! org>
Date: 2022-03-31 23:10:39
Message-ID: 20220331161039.7ea889841228fa36e8387b93 () linux-foundation ! org
[Download RAW message or body]
On Thu, 31 Mar 2022 20:59:49 +0800 kernel test robot <lkp@intel.com> wrote:
> > > arch/arm64/kernel/stacktrace.c:289:13: error: implicit declaration of function 'task_scs' is \
> > > invalid in C99 [-Werror,-Wimplicit-function-declaration]
> scs_base = task_scs(current);
> ^
Thanks. Presumably this:
--- a/arch/arm64/kernel/stacktrace.c~arm64-implement-stack_trace_save_shadow-fix
+++ a/arch/arm64/kernel/stacktrace.c
@@ -213,6 +213,7 @@ noinline notrace void arch_stack_walk(st
walk_stackframe(task, &frame, consume_entry, cookie);
}
+#ifdef CONFIG_SHADOW_CALL_STACK
static const struct {
unsigned long ** __percpu saved;
unsigned long ** __percpu base;
@@ -293,3 +294,4 @@ out:
preempt_enable();
return len;
}
+#endif /* CONFIG_SHADOW_CALL_STACK */
_
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic