linux/drivers/media/platform/davinci
Gustavo A. R. Silva 5a18c2434f media: davinci: vpif_capture: add NULL check on devm_kzalloc return value
Check return value from call to devm_kzalloc() in order to prevent
a NULL pointer dereference.

This issue was detected with the help of Coccinelle.

Fixes: 4a5f8ae50b ("[media] davinci: vpif_capture: get subdevs from DT when available")

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-12-08 11:15:41 -05:00
..
ccdc_hw_device.h media: davinci: make function arguments const 2017-10-31 07:18:07 -04:00
dm355_ccdc_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
dm355_ccdc.c media: davinci: make ccdc_hw_device structures const 2017-10-31 07:19:13 -04:00
dm644x_ccdc_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
dm644x_ccdc.c media: davinci: make ccdc_hw_device structures const 2017-10-31 07:19:13 -04:00
isif_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
isif.c media: davinci: make ccdc_hw_device structures const 2017-10-31 07:19:13 -04:00
Kconfig [media] davinci: Switch from V4L2 OF to V4L2 fwnode 2017-06-08 12:34:16 -03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vpbe_display.c media: davinci: do a couple of checkpatch cleanups 2017-09-23 14:55:27 -04:00
vpbe_osd_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
vpbe_osd.c media: davinci: constify platform_device_id 2017-08-20 08:24:45 -04:00
vpbe_venc_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
vpbe_venc.c media: davinci: constify platform_device_id 2017-08-20 08:24:45 -04:00
vpbe.c media: DaVinci-VPBE: constify vpbe_dev_ops 2017-08-09 10:33:51 -04:00
vpfe_capture.c media: davinci: make function arguments const 2017-10-31 07:18:07 -04:00
vpif_capture.c media: davinci: vpif_capture: add NULL check on devm_kzalloc return value 2017-12-08 11:15:41 -05:00
vpif_capture.h [media] davinci: vpif_capture: fix start/stop streaming locking 2017-01-31 08:01:07 -02:00
vpif_display.c media: davinci: fix kernel-doc warnings 2017-11-30 04:18:53 -05:00
vpif_display.h [media] media/platform: convert drivers to use the new vb2_queue dev field 2016-07-08 14:39:21 -03:00
vpif.c media: vpif: don't generate a kernel-doc warning on a constant 2017-11-27 10:35:33 -05:00
vpif.h [media] davinci: vpif: Fix module build for capture and display 2013-03-23 10:38:10 -03:00
vpss.c [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00