linux/drivers/media/platform/rcar-vin
Mauro Carvalho Chehab bf78f23acf media: rcar-dma: p_set can't be NULL
The only way for p_set to be NULL would be if vin_coef_set would be an
empty array.

On such case, the driver will OOPS, as it would try to de-reference a
NULL value. So, the check if p_set is not NULL doesn't make any sense.

Solves those two smatch warnings:

	drivers/media/platform/rcar-vin/rcar-dma.c:489 rvin_set_coeff() warn: variable dereferenced before check 'p_set' (see line 484)
	drivers/media/platform/rcar-vin/rcar-dma.c:494 rvin_set_coeff() error: we previously assumed 'p_set' could be null (see line 489)

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-03-25 18:02:31 -04:00
..
Kconfig media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
Makefile media: rcar-vin: convert to SPDX identifiers 2018-08-03 16:03:45 -04:00
rcar-core.c media: rcar-vin: Enable support for r8a774a1 2019-03-19 13:47:14 -04:00
rcar-csi2.c media: rcar-csi2: Enable support for r8a774a1 2019-03-19 13:45:53 -04:00
rcar-dma.c media: rcar-dma: p_set can't be NULL 2019-03-25 18:02:31 -04:00
rcar-v4l2.c media: platform: fix several typos 2019-03-01 09:35:21 -05:00
rcar-vin.h media: rcar-vin: convert to SPDX identifiers 2018-08-03 16:03:45 -04:00