On Wed, 8 Mar 2023 15:38:46 +0800 Zhen Lei <thunder.leizhen@xxxxxxxxxx> wrote: > diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c > index 29baa97d0d53428..76caca8f496aaed 100644 > --- a/kernel/trace/ftrace.c > +++ b/kernel/trace/ftrace.c > @@ -8391,8 +8391,7 @@ struct kallsyms_data { > * and returns 1 in case we resolved all the requested symbols, > * 0 otherwise. > */ > -static int kallsyms_callback(void *data, const char *name, > - struct module *mod, unsigned long addr) > +static int kallsyms_callback(void *data, const char *name, unsigned long addr) > { > struct kallsyms_data *args = data; > const char **sym; > -- Acked-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx> -- Steve