tracing: Do not use return values of trace_seq_printf() in syscall tracing
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 12 Nov 2014 22:41:33 +0000 (17:41 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 19 Nov 2014 20:25:46 +0000 (15:25 -0500)
commit183742f08c5532c0cd3c3d3fa184a26c092e2157
treebd1abb05d0d6e18313a5d8d34f23eca3a392f512
parent8579a107a6490511bbe35d6f0be5be5b8b697775
tracing: Do not use return values of trace_seq_printf() in syscall tracing

The functions trace_seq_printf() and friends will not be returning values
soon and will be void functions. To know if they succeeded or not, the
functions trace_seq_has_overflowed() and trace_handle_return() should be
used instead.

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