[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211006212803.48151494@rorschach.local.home>
Date: Wed, 6 Oct 2021 21:28:03 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Masami Hiramatsu <mhiramat@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Tom Zanussi <zanussi@...nel.org>
Subject: Re: [PATCH] tracing/synthetic_events: Fix use when created by
dynamic_events file
On Thu, 7 Oct 2021 10:19:52 +0900
Masami Hiramatsu <mhiramat@...nel.org> 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@...nel.org>
Thanks!
-- Steve
Powered by blists - more mailing lists