linux/drivers/media/pci/pt1
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
..
Kconfig
Makefile
pt1.c media: pt1: fix logic when pt1_nr_tables is zero or negative 2017-12-11 13:04:55 -05:00
va1j5jf8007s.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
va1j5jf8007s.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
va1j5jf8007t.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
va1j5jf8007t.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00