Skip to content

Commit 1b6ceeb

Browse files
rddunlapjcmvbkbc
authored andcommitted
xtensa: stacktrace: include <asm/ftrace.h> for prototype
Use <asm/ftrace.h> to prevent a build warning: arch/xtensa/kernel/stacktrace.c:263:15: warning: no previous prototype for 'return_address' [-Wmissing-prototypes] 263 | unsigned long return_address(unsigned level) Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Chris Zankel <chris@zankel.net> Cc: Max Filippov <jcmvbkbc@gmail.com> Message-Id: <20230920052139.10570-8-rdunlap@infradead.org> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
1 parent 4ec4b8b commit 1b6ceeb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/xtensa/kernel/stacktrace.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <linux/sched.h>
1313
#include <linux/stacktrace.h>
1414

15+
#include <asm/ftrace.h>
1516
#include <asm/stacktrace.h>
1617
#include <asm/traps.h>
1718
#include <linux/uaccess.h>

0 commit comments

Comments
 (0)