diff options
| author | Gustavo A. R. Silva <[email protected]> | 2018-02-06 11:47:37 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-02-26 08:08:15 -0500 |
| commit | a2603d1748fddaa44b70b027737ba077145f261c (patch) | |
| tree | d2f6ca113bb90c39b2db24fb06c801d4799231c4 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 91e0c0c1b05230d703395965d4bf298705819641 (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/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions