Re: [PATCH 08/26 v5] tracing: Do not check return values of trace_seq_p*() for mmio tracer

From: Petr Mladek
Date: Tue Nov 18 2014 - 09:06:30 EST


On Fri 2014-11-14 23:58:55, Steven Rostedt wrote:
> From: "Steven Rostedt (Red Hat)" <rostedt@xxxxxxxxxxx>
>
> The return values for trace_seq_printf() and friends are going to be
> removed and they will become void functions. The mmio tracer checked
> their return and even did so incorrectly.
>
> Some of the funtions which returned the values were never checked
> themselves. Removing all the checks simplifies the code.
>
> Use trace_seq_has_overflowed() and trace_handle_return() where
> necessary instead.
>
> Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

Reviewed-by: Petr Mladek <pmladek@xxxxxxx>

Best Regards,
Petr
--
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/