"ftrace: Rework event_create_dir()" triggers boot error messages

Steven Rostedt rostedt at goodmis.org
Tue Jan 7 04:54:49 AEDT 2020


On Mon, 6 Jan 2020 12:05:58 -0500
Qian Cai <cai at 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


More information about the Linuxppc-dev mailing list