diff options
author | Steven Rostedt (Red Hat) <[email protected]> | 2014-11-12 15:18:16 -0500 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2014-11-19 15:25:43 -0500 |
commit | 85224da0b81a52a58b91feccdcd341856d8eb83d (patch) | |
tree | f050a16ad5158292350ccf3b027b73e80578f942 /net/lapb/lapb_timer.c | |
parent | 9d9add34ec7b2cdd438b0b26481f8d1861bde45c (diff) |
kprobes/tracing: Use trace_seq_has_overflowed() for overflow checks
Instead of checking the return value of trace_seq_printf() and friends
for overflowing of the buffer, use the trace_seq_has_overflowed() helper
function.
This cleans up the code quite a bit and also takes us a step closer to
changing the return values of trace_seq_printf() and friends to void.
Link: http://lkml.kernel.org/r/[email protected]
Reviewed-by: Srikar Dronamraju <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions