diff options
| author | Gustavo A. R. Silva <[email protected]> | 2018-02-06 11:49:04 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-02-26 08:08:46 -0500 |
| commit | 07837433ca4d7cf1bfd27d4776956cc7a7bf921d (patch) | |
| tree | 3d457dfc4ecea9142600e6305f8f54ca81f980dc /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | a2603d1748fddaa44b70b027737ba077145f261c (diff) | |
media: pci: cx88-input: use 64-bit arithmetic instead of 32-bit
Add suffix LL to constant 1000000 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 ktime_t (64 bits, signed).
The expression ir->polling * 1000000 is currently being evaluated
using 32-bit arithmetic.
Addresses-Coverity-ID: 1392628 ("Unintentional integer overflow")
Addresses-Coverity-ID: 1392630 ("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