linux/drivers/media/pci/cx88
Gustavo A. R. Silva 07837433ca 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>
2018-02-26 08:08:46 -05:00
..
cx88-alsa.c media: cx88: make snd_kcontrol_new const 2017-08-20 08:25:27 -04:00
cx88-blackbird.c media: v4l2-dev: convert VFL_TYPE_* into an enum 2017-12-18 11:49:40 -05:00
cx88-cards.c [media] cx88: Fix regression in initial video standard setting 2017-06-06 07:26:25 -03:00
cx88-core.c [media] cx88: convert struct cx88_core.refcount from atomic_t to refcount_t 2017-04-05 15:25:54 -03:00
cx88-dsp.c [media] cx88: make checkpatch.pl happy 2016-11-25 07:50:20 -02:00
cx88-dvb.c [media] cx88: constify mb86a16_config structure 2017-04-17 12:52:41 -03:00
cx88-i2c.c [media] cx88: make checkpatch.pl happy 2016-11-25 07:50:20 -02:00
cx88-input.c media: pci: cx88-input: use 64-bit arithmetic instead of 32-bit 2018-02-26 08:08:46 -05:00
cx88-mpeg.c [media] cx88: make checkpatch.pl happy 2016-11-25 07:50:20 -02:00
cx88-reg.h [media] cx88: make checkpatch.pl happy 2016-11-25 07:50:20 -02:00
cx88-tvaudio.c [media] cx88: make checkpatch.pl happy 2016-11-25 07:50:20 -02:00
cx88-vbi.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cx88-video.c media: v4l2-dev: convert VFL_TYPE_* into an enum 2017-12-18 11:49:40 -05:00
cx88-vp3054-i2c.c [media] cx88: make checkpatch.pl happy 2016-11-25 07:50:20 -02:00
cx88-vp3054-i2c.h [media] cx88: make checkpatch.pl happy 2016-11-25 07:50:20 -02:00
cx88.h media: v4l2-dev: convert VFL_TYPE_* into an enum 2017-12-18 11:49:40 -05:00
Kconfig
Makefile media: don't include drivers/media/i2c at cflags 2017-12-28 14:14:09 -05:00