linux/drivers/media/platform
Jiasheng Jiang 0209e70ad4 media: coda: Add check for kmalloc
[ Upstream commit 6e5e5defdb ]

As the kmalloc may return NULL pointer,
it should be better to check the return value
in order to avoid NULL poineter dereference,
same as the others.

Fixes: cb1d3a3363 ("[media] coda: add CODA7541 JPEG support")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:32:25 +01:00
..
allegro-dvt media: v4l: ioctl: Set bus_info in v4l_querycap() 2022-04-24 08:07:08 +01:00
amlogic media: platform: fix some double free in meson-ge2d and mtk-jpeg and s5p-mfc 2022-08-30 15:20:49 +02:00
amphion media: amphion: lock and check m2m_ctx in event handler 2022-12-31 13:32:17 +01:00
aspeed media: aspeed: Fix an error handling path in aspeed_video_probe() 2022-05-13 09:13:17 +02:00
atmel media: Replace dependency on VIDEO_V4L2_SUBDEV_API with select 2022-07-15 15:19:48 +01:00
cadence media: cadence: cdns-csi2tx: Use mipi-csi2.h 2022-05-13 11:02:20 +02:00
chips-media media: coda: Add check for kmalloc 2022-12-31 13:32:25 +01:00
intel media: avoid use of 'videobuf' 2022-08-29 16:27:18 +02:00
marvell media: avoid use of 'videobuf' 2022-08-29 16:27:18 +02:00
mediatek media: mediatek: vcodec: Core thread depends on core_list 2022-12-31 13:32:17 +01:00
nvidia media: tegra-vde: Use vb2_find_buffer 2022-07-17 11:12:21 +01:00
nxp media: v4l2-ctrls: drop 'elems' argument from control type ops. 2022-09-24 08:49:06 +02:00
qcom media: camss: Do not attach an already attached power domain on MSM8916 platform 2022-12-31 13:32:09 +01:00
renesas media fixes for v6.1-rc2 2022-10-22 15:30:15 -07:00
rockchip media: drivers: use video device pipeline start/stop 2022-09-24 09:14:20 +02:00
samsung media: s5p-mfc: Add variant data for MFC v7 hardware for Exynos 3250 SoC 2022-12-31 13:32:17 +01:00
st media: c8sectpfe: Add of_node_put() when breaking out of loop 2022-12-31 13:32:25 +01:00
sunxi media: sun8i-a83t-mipi-csi2: Register async subdev with no sensor attached 2022-12-31 13:32:17 +01:00
ti media: drivers: use video_device_pipeline_alloc_start() 2022-09-24 09:16:36 +02:00
verisilicon media: hantro: Allows luma and chroma depth to be different 2022-09-24 09:01:15 +02:00
via media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
xilinx media: drivers: use video_device_pipeline() 2022-09-24 09:14:59 +02:00
Kconfig media: destage Hantro VPU driver 2022-08-31 10:23:50 +02:00
m2m-deinterlace.c
Makefile media: destage Hantro VPU driver 2022-08-31 10:23:50 +02:00
video-mux.c media: mc-entity: Rename media_entity_remote_pad() to media_pad_remote_pad_first() 2022-07-17 11:21:35 +01:00