From: Alex Bennée Date: Wed, 29 Apr 2015 15:18:46 +0000 (+0100) Subject: tracing: Make ftrace_print_array_seq compute buf_len X-Git-Tag: omap-for-v4.2/wakeirq-drivers-v2~20^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac01ce1410fc2;p=pandora-kernel.git tracing: Make ftrace_print_array_seq compute buf_len The only caller to this function (__print_array) was getting it wrong by passing the array length instead of buffer length. As the element size was already being passed for other reasons it seems reasonable to push the calculation of buffer length into the function. Link: http://lkml.kernel.org/r/1430320727-14582-1-git-send-email-alex.bennee@linaro.org Signed-off-by: Alex Bennée Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed