]> git.baikalelectronics.ru Git - kernel.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)
commitdf263fa37156731f82492c4474f063a33b04a7d8
tree3c13365419bdd39ad501adc37628701d92a56dff
parent9ebd6d6ed0c02d1c5164da1f95d6bdf445a46900
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