From: Steven Rostedt (Red Hat) Date: Wed, 12 Nov 2014 20:18:16 +0000 (-0500) Subject: kprobes/tracing: Use trace_seq_has_overflowed() for overflow checks X-Git-Tag: omap-for-v3.20/drop-legacy-3517~136^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85224da0b81a52a58b91feccdcd341856d8eb83d;p=pandora-kernel.git 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/20141114011411.181812785@goodmis.org Reviewed-by: Srikar Dronamraju Reviewed-by: Petr Mladek Acked-by: Masami Hiramatsu Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed