Re: [PATCH] parisc/ftrace: add missing CONFIG_DYNAMIC_FTRACE check

2024-02-16 Thread Helge Deller
On 2/11/24 23:43, Max Kellermann wrote: Fixes a bug revealed by -Wmissing-prototypes when CONFIG_FUNCTION_GRAPH_TRACER is enabled but not CONFIG_DYNAMIC_FTRACE: arch/parisc/kernel/ftrace.c:82:5: error: no previous prototype for 'ftrace_enable_ftrace_graph_caller' [-Werror=missing-prototypes]

[PATCH] parisc/ftrace: add missing CONFIG_DYNAMIC_FTRACE check

2024-02-11 Thread Max Kellermann
Fixes a bug revealed by -Wmissing-prototypes when CONFIG_FUNCTION_GRAPH_TRACER is enabled but not CONFIG_DYNAMIC_FTRACE: arch/parisc/kernel/ftrace.c:82:5: error: no previous prototype for 'ftrace_enable_ftrace_graph_caller' [-Werror=missing-prototypes] 82 | int