| Date | Tue, 18 Nov 2014 15:06:34 +0100 | From | Petr Mladek <> | Subject | Re: [PATCH 08/26 v5] tracing: Do not check return values of trace_seq_p*() for mmio tracer |
| |
On Fri 2014-11-14 23:58:55, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" <rostedt@goodmis.org> > > 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@goodmis.org>
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Best Regards, Petr
|