]> 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)
commitb84b8a07f4047780c6aa67af8159cc1cbd1dd9d6
tree3c13365419bdd39ad501adc37628701d92a56dff
parent8e68737ba3ae24669d2ba3da09fbd044d31b486b
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