On Sun, 23 Dec 2018 12:23:52 +0900
Masami Hiramatsu <mhira...@kernel.org> wrote:

> On Sat, 22 Dec 2018 11:20:12 -0500
> Steven Rostedt <rost...@goodmis.org> wrote:
> 
> > From: "Steven Rostedt (VMware)" <rost...@goodmis.org>
> > 
> > There are several locations that compare constants to the beginning of
> > string variables to determine what commands should be done, then the
> > constant length is used to index into the string. This is error prone as the
> > hard coded numbers have to match the size of the constants. Instead, use the
> > len returned from str_has_prefix() and remove the open coded string length
> > sizes.  
> 
> Looks good to me.
> 
> Acked-by: Masami Hiramatsu <mhira...@kernel.org>
> 
> for trace_probe part.

Thanks Masami!

-- Steve

Reply via email to