Skip to content

Commit 1fc596a

Browse files
committed
Merge tag 'trace-v5.15-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
Pull nds32 tracing fix from Steven Rostedt: "Fix nds32le build when DYNAMIC_FTRACE is disabled A randconfig found that nds32le architecture fails to build due to a prototype mismatch between a ftrace function pointer and the function it was to be assigned to. That function pointer prototype missed being updated when all the ftrace callbacks were updated" * tag 'trace-v5.15-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace: ftrace/nds32: Update the proto for ftrace_trace_function to match ftrace_stub
2 parents 646b0de + 4e84dc4 commit 1fc596a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/nds32/kernel/ftrace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#ifndef CONFIG_DYNAMIC_FTRACE
88
extern void (*ftrace_trace_function)(unsigned long, unsigned long,
9-
struct ftrace_ops*, struct pt_regs*);
9+
struct ftrace_ops*, struct ftrace_regs*);
1010
extern void ftrace_graph_caller(void);
1111

1212
noinline void __naked ftrace_stub(unsigned long ip, unsigned long parent_ip,

0 commit comments

Comments
 (0)