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 <[email protected]> Cc: Chris Zankel <[email protected]> Cc: Max Filippov <[email protected]> Message-Id: <[email protected]> Signed-off-by: Max Filippov <[email protected]>
1 parent 4ec4b8b commit 1b6ceeb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)