linux/drivers/media/platform/exynos4-is
Sylwester Nawrocki 7c1b9a5aee media: exynos4-is: Prevent NULL pointer dereference in __isp_video_try_fmt()
This patch fixes potential NULL pointer dereference as indicated
by the following static checker warning:

drivers/media/platform/exynos4-is/fimc-isp-video.c:408 isp_video_try_fmt_mplane()
error: NULL dereference inside function '__isp_video_try_fmt(isp, &f->fmt.pix_mp, (0))()'.

Fixes: 34947b8aebe3: ("[media] exynos4-is: Add the FIMC-IS ISP capture DMA driver")

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-07-04 12:59:19 -04:00
..
Kconfig media: exymos4-is: allow compile test for EXYNOS FIMC-LITE 2018-04-17 05:01:29 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
common.c [media] media: use macros to check for V4L2 subdev entities 2016-01-11 12:18:50 -02:00
common.h
fimc-capture.c media: fimc-capture: get rid of two warnings 2018-03-23 08:56:36 -04:00
fimc-core.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
fimc-core.h media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
fimc-is-command.h
fimc-is-errno.c [media] fimc-is-param: get rid of warnings 2014-08-26 18:52:12 -03:00
fimc-is-errno.h [media] fimc-is-param: get rid of warnings 2014-08-26 18:52:12 -03:00
fimc-is-i2c.c media: exynos4-is: fimc-is-i2c: constify dev_pm_ops structures 2017-07-26 08:37:57 -04:00
fimc-is-i2c.h
fimc-is-param.c [media] fimc-is-param: get rid of warnings 2014-08-26 18:52:12 -03:00
fimc-is-param.h [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
fimc-is-regs.c media: exynos4-is: make array 'cmd' static, shrinks object size 2018-03-06 06:05:12 -05:00
fimc-is-regs.h [media] exynos4-is: Add the FIMC-IS ISP capture DMA driver 2014-03-14 10:37:12 -03:00
fimc-is-sensor.c [media] exynos4-is: Use external s5k6a3 sensor driver 2014-03-14 10:34:13 -03:00
fimc-is-sensor.h [media] exynos4-is: Use external s5k6a3 sensor driver 2014-03-14 10:34:13 -03:00
fimc-is.c media: Convert to using %pOF instead of full_name 2017-08-20 08:20:20 -04:00
fimc-is.h [media] exynos4-is: Add support for all required clocks 2016-09-22 10:13:53 -03:00
fimc-isp-video.c media: exynos4-is: Prevent NULL pointer dereference in __isp_video_try_fmt() 2018-07-04 12:59:19 -04:00
fimc-isp-video.h [media] media: videobuf2: Replace videobuf2-core with videobuf2-v4l2 2015-10-01 08:48:18 -03:00
fimc-isp.c media: exynos4-is: properly initialize frame format 2017-12-18 15:09:08 -05:00
fimc-isp.h [media] media/platform: convert drivers to use the new vb2_queue dev field 2016-07-08 14:42:48 -03:00
fimc-lite-reg.c media: include/media: fix missing | operator when setting cfg 2018-05-05 09:01:22 -04:00
fimc-lite-reg.h
fimc-lite.c media: exynos4-is: Remove dependency on obsolete SoC support 2017-12-18 15:11:48 -05:00
fimc-lite.h media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
fimc-m2m.c media: exynos4-is: Drop obsolete capabilities 2017-12-18 15:09:57 -05:00
fimc-reg.c [media] include/media: move driver interface headers to a separate dir 2015-11-17 06:57:29 -02:00
fimc-reg.h
media-dev.c media: platform: exynos4-is: simplify getting .drvdata 2018-07-04 11:43:11 -04:00
media-dev.h [media] media: Rename graph and pipeline structs and functions 2017-01-27 16:13:24 -02:00
mipi-csis.c media: platform: exynos4-is: simplify getting .drvdata 2018-07-04 11:43:11 -04:00
mipi-csis.h