linux/drivers/media/pci
Mauro Carvalho Chehab e639c86955 media: pt1: fix logic when pt1_nr_tables is zero or negative
pt1_nr_tables is a modprobe parameter. The way the logic
handles it, it can't be negative. However, user can
set it to zero.

If set to zero, however, it will cause troubles at
pt1_init_tables(), as reported by smatch:
	drivers/media/pci/pt1/pt1.c:468 pt1_init_tables() error: uninitialized symbol 'first_pfn'.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-12-11 13:04:55 -05:00
..
b2c2 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
bt8xx media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
cobalt media: cobalt: do not register subdev nodes 2017-09-23 14:58:22 -04:00
cx18 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
cx88 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
cx23885 media: cx23885: Handle return value of kasprintf 2017-12-08 10:40:39 -05:00
cx25821 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
ddbridge media: ddbridge: shut up a new warning 2017-12-11 13:04:49 -05:00
dm1105 media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
dt3155 media: pci: make video_device const 2017-08-27 08:44:58 -04:00
ivtv media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
mantis media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
meye media: meye: Adjust two function calls together with a variable assignment 2017-09-23 08:31:20 -04:00
netup_unidvb media: netup_unidvb: fix a bad kernel-doc markup 2017-11-30 04:18:58 -05:00
ngene License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pluto2 media: pluto2: constify pci_device_id 2017-08-09 09:44:46 -04:00
pt1 media: pt1: fix logic when pt1_nr_tables is zero or negative 2017-12-11 13:04:55 -05:00
pt3 media: pt3: remove redundant assignment to mask 2017-12-08 10:11:22 -05:00
saa7134 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
saa7146 media: use ARRAY_SIZE 2017-12-08 10:11:00 -05:00
saa7164 media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
smipcie License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
solo6x10 media: solo6x10: use ktime_get_ts64() for time sync 2017-12-08 11:21:29 -05:00
sta2x11 media: sta2x11: document missing function parameters 2017-11-30 04:18:55 -05:00
ttpci media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
tw68 media: tw68: fix kernel-doc markups 2017-11-30 04:18:56 -05:00
tw686x media updates for v4.15-rc1 2017-11-15 20:30:12 -08:00
tw5864 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
zoran media: drivers/media/pci/zoran: remove redundant assignment to pointer h 2017-12-08 10:11:53 -05:00
Kconfig [media] pci: Add tw5864 driver 2016-08-24 11:17:22 -03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00