]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tracing: Do not check return values of trace_seq_p*() for mmio tracer
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 12 Nov 2014 21:26:06 +0000 (16:26 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 19 Nov 2014 20:25:44 +0000 (15:25 -0500)
commita72e10afab565385d51e5117d7cffe4a667c1b62
tree3c13365419bdd39ad501adc37628701d92a56dff
parent85224da0b81a52a58b91feccdcd341856d8eb83d
tracing: Do not check return values of trace_seq_p*() for mmio tracer

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.

Reviewed-by: Petr Mladek <pmladek@suse.cz>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_mmiotrace.c