aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2014-10-28 09:27:58 -0700
committerDmitry Torokhov <[email protected]>2014-10-31 09:30:44 -0700
commitfbefc5e7e63228d56963eeb0db10209ea0fafe9d (patch)
treeac7352b6a72cbc78768fd16294c330a57249bd19 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent185af4d6668e4805d18d1bdf21dfec89d680fee3 (diff)
Input: max77693-haptic - fix potential overflow
Expression haptic->pwm_dev->period * haptic->magnitude is of type 'unsigned int' and may overflow. We need to convert one of the operands to u64 before multiplying, instead of casting result (potentially overflown) to u64. Reported by Coverity: CID 1248753 Acked-by : Jaewon Kim <[email protected]> Reviewed-by: Chanwoo Choi <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions