linux_dsm_epyc7002/drivers/media/platform/coda
Fabio Estevam a874aabef9 media: coda/imx-vdoa: Check for platform_get_resource() error
platform_get_resource() may fail and in this case a NULL dereference
will occur.

Prevent this from happening by returning an error on
platform_get_resource() failure.

Fixes: b0444f18e0 ("[media] coda: add i.MX6 VDOA driver")

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-08-20 08:26:53 -04:00
..
coda_regs.h media: coda: set MPEG-4 encoder class register 2017-07-19 15:21:02 -04:00
coda-bit.c media: coda: fix decoder sequence init escape flag 2017-08-08 06:49:26 -04:00
coda-common.c media: coda: constify platform_device_id 2017-08-20 08:24:24 -04:00
coda-gdi.c [media] coda: add macroblock tiling support 2015-07-17 11:28:59 -03:00
coda-h264.c [media] coda: disable reordering for baseline profile h.264 streams 2017-03-22 10:06:26 -03:00
coda-jpeg.c [media] coda: relax coda_jpeg_check_buffer for trailing bytes 2015-12-23 14:02:14 -02:00
coda.h media: coda: rename the picture run timeout error handler 2017-06-24 09:39:29 -03:00
imx-vdoa.c media: coda/imx-vdoa: Check for platform_get_resource() error 2017-08-20 08:26:53 -04:00
imx-vdoa.h [media] coda: add i.MX6 VDOA driver 2017-01-31 08:10:18 -02:00
Makefile [media] coda: add i.MX6 VDOA driver 2017-01-31 08:10:18 -02:00
trace.h [media] media: videobuf2: Restructure vb2_buffer 2015-10-01 09:04:43 -03:00