Re: [PATCH] tracing/synthetic_events: Fix use when created by dynamic_events file

From: Steven Rostedt
Date: Wed Oct 06 2021 - 21:28:08 EST


On Thu, 7 Oct 2021 10:19:52 +0900
Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:

> > raw_command = skip_spaces(raw_command);
> > if (raw_command[0] == '\0')
> > - return ret;
> > + return -ECANCELED;
>
> Good catch! BTW, I thought trace_parse_run_command() skips such empty line.

I think it does, but I was paranoid to remove that part, as this is
going to stable. As a clean up, we could remove that for the next merge
window.

>
> Anyway,
>
> Reviewed-by: Masami Hiramatsu <mhiramat@xxxxxxxxxx>

Thanks!

-- Steve