summaryrefslogtreecommitdiffstats
path: root/sound/i2c/cs8427.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2014-06-05 20:35:30 -0400
committerSteven Rostedt <rostedt@goodmis.org>2014-06-05 20:35:30 -0400
commit72e2fe38eac2dbf258d4295d75f78b123dd5b823 (patch)
tree3966b0bc0dcb2d38837abdcd96d0a652354dd8b3 /sound/i2c/cs8427.c
parent939c7a4f04fcd2162109744e8bf88194948a6e65 (diff)
downloadop-kernel-dev-72e2fe38eac2dbf258d4295d75f78b123dd5b823.zip
op-kernel-dev-72e2fe38eac2dbf258d4295d75f78b123dd5b823.tar.gz
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 <ddaney.cavm@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'sound/i2c/cs8427.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud