From: Filipe Brandenburger Date: Sat, 1 Mar 2014 05:32:17 +0000 (-0800) Subject: tracing: Evaluate len expression only once in __dynamic_array macro X-Git-Tag: v3.15-rc1~110^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=114e7b52dee69ce47dd55b8e520e0a48ba7cdae3;p=pandora-kernel.git tracing: Evaluate len expression only once in __dynamic_array macro Use a temporary variable to store the expansion of the len expression. If the evaluation is expensive, this commit will ensure it is evaluated only once inside ftrace_get_offsets_. Link: http://lkml.kernel.org/r/1393651938-16418-3-git-send-email-filbranden@google.com Signed-off-by: Filipe Brandenburger Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed