summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/rockchip/rga
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-02-06 11:49:04 -0500
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-02-26 08:08:46 -0500
commit07837433ca4d7cf1bfd27d4776956cc7a7bf921d (patch)
tree3d457dfc4ecea9142600e6305f8f54ca81f980dc /drivers/media/platform/rockchip/rga
parenta2603d1748fddaa44b70b027737ba077145f261c (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 <gustavo@embeddedor.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/rockchip/rga')
0 files changed, 0 insertions, 0 deletions