From: Steven Rostedt (Red Hat) Date: Fri, 6 Jun 2014 00:35:30 +0000 (-0400) Subject: tracing: Convert stddev into u64 in tracepoint benchmark X-Git-Tag: omap-for-v3.16/fixes-against-rc1~80^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72e2fe38eac2dbf258d4295d75f78b123dd5b823;p=pandora-kernel.git tracing: Convert stddev into u64 in tracepoint benchmark I've been told that do_div() expects an unsigned 64 bit number, and is undefined if a signed is used. This gave a warning on the MIPS build. I'm not sure if a signed 64 bit dividend is really an issue or not, but the calculation this is used for is standard deviation, and that isn't going to be negative. We can just convert it to unsigned and be safe. Reported-by: David Daney Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed