Re: [RFC][PATCH 12/23 v4] tracing: Remove return values of most trace_seq_*() functions

From: Steven Rostedt
Date: Fri Nov 14 2014 - 11:22:19 EST


On Fri, 14 Nov 2014 09:53:39 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:


> > > @@ -334,10 +297,7 @@ int trace_seq_putmem_hex(struct trace_seq *s, const void *mem,
> > > /* j increments twice per loop */
> > > len -= j / 2;
> > > hex[j++] = ' ';
> > > -
> > > - cnt += trace_seq_putmem(s, hex, j);
> >
> > trace_seq_putmem(s, hex, j); should stay ;-)
>
> Ouch! Looks like I got a little happy with the delete line key stroke.
>
> Good catch!
>

And in the end it really didn't matter, as the patch "tracing: Create
seq_buf layer in trace_seq" took all this out.

I'll still update the patch for correctness.

Thanks,

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/