aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2018-02-06 11:47:37 -0500
committerMauro Carvalho Chehab <[email protected]>2018-02-26 08:08:15 -0500
commita2603d1748fddaa44b70b027737ba077145f261c (patch)
treed2f6ca113bb90c39b2db24fb06c801d4799231c4 /tools/perf/scripts/python
parent91e0c0c1b05230d703395965d4bf298705819641 (diff)
media: i2c: max2175: use 64-bit arithmetic instead of 32-bit
Add suffix LL to constant 2 in order to give the compiler complete information about the proper arithmetic to use. Notice that this constant is used in a context that expects an expression of type s64 (64 bits, signed). The expression 2 * (clock_rate - abs_nco_freq) is currently being evaluated using 32-bit arithmetic. Addresses-Coverity-ID: 1446589 ("Unintentional integer overflow") Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions