From: Steven Rostedt (Red Hat) Date: Thu, 13 Nov 2014 02:11:59 +0000 (-0500) Subject: tracing: Fix trace_seq_bitmask() to start at current position X-Git-Tag: omap-for-v3.20/drop-legacy-3517~136^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e400a40cffa77e45c60c5431ec8757579247cae2;p=pandora-kernel.git tracing: Fix trace_seq_bitmask() to start at current position In trace_seq_bitmask() it calls bitmap_scnprintf() not from the current position of the trace_seq buffer (s->buffer + s->len), but instead from the beginning of the buffer (s->buffer). Luckily, the only user of this "ipi_raise tracepoint" uses it as the first parameter, and as such, the start of the temp buffer in include/trace/ftrace.h (see __get_bitmask()). Reported-by: Petr Mladek Reviewed-by: Petr Mladek Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed