aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorPrashant Laddha <[email protected]>2015-05-05 10:16:27 -0300
committerMauro Carvalho Chehab <[email protected]>2015-05-18 16:27:29 -0300
commitc9bc9f50753d20d24836831d40e1efe74c21b0ef (patch)
tree3c2222d564c150a359f951a5f21ebc7e477a4f6e /tools/perf/scripts/python/syscall-counts.py
parented1bc664daf58af7da47581fe43d42b95a1de65a (diff)
[media] v4l2-dv-timings: fix overflow in gtf timings calculation
The intermediate calculation in the expression for hblank can exceed 32 bit signed range. This overflow can lead to negative values for hblank. Typecasting intermediate variable to higher precision. Cc: Martin Bugge <[email protected]> Signed-off-by: Prashant Laddha <[email protected]> [[email protected]: made the denominator u32, since that's what div_u64 expects] Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions