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: 34947b8aeb: ("[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
..
common.c
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
fimc-is-errno.h
fimc-is-i2c.c
fimc-is-i2c.h
fimc-is-param.c
fimc-is-param.h
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
fimc-is-sensor.c
fimc-is-sensor.h
fimc-is.c media: Convert to using %pOF instead of full_name 2017-08-20 08:20:20 -04:00
fimc-is.h
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
fimc-isp.c media: exynos4-is: properly initialize frame format 2017-12-18 15:09:08 -05:00
fimc-isp.h
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
fimc-reg.h
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
media-dev.c media: platform: exynos4-is: simplify getting .drvdata 2018-07-04 11:43:11 -04:00
media-dev.h
mipi-csis.c media: platform: exynos4-is: simplify getting .drvdata 2018-07-04 11:43:11 -04:00
mipi-csis.h