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

From: Steven Rostedt
Date: Fri Nov 14 2014 - 12:09:30 EST


On Fri, 14 Nov 2014 14:17:28 +0100
Petr Mladek <pmladek@xxxxxxx> 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 ;-)

Here's the new patch: