Messages in this thread | | | Date | Mon, 6 Jan 2020 12:54:49 -0500 | From | Steven Rostedt <> | Subject | Re: "ftrace: Rework event_create_dir()" triggers boot error messages |
| |
On Mon, 6 Jan 2020 12:05:58 -0500 Qian Cai <cai@lca.pw> wrote:
> > diff --git a/kernel/trace/trace_syscalls.c b/kernel/trace/trace_syscalls.c > > index 53935259f701..abb70c71fe60 100644 > > --- a/kernel/trace/trace_syscalls.c > > +++ b/kernel/trace/trace_syscalls.c > > @@ -269,7 +269,8 @@ static int __init syscall_enter_define_fields(struct trace_event_call *call) > > struct syscall_trace_enter trace; > > struct syscall_metadata *meta = call->data; > > int offset = offsetof(typeof(trace), args); > > - int ret, i; > > + int ret = 0; > > + int i; > > > > for (i = 0; i < meta->nb_args; i++) { > > ret = trace_define_field(call, meta->types[i], > > Steve, those errors are still there in today’s linux-next. Is this patch on the way to the linux-next?
No, because this bug is not in my tree.
I'll send a proper patch to the tip folks.
-- Steve
| |