OpenCloudOS-Kernel/drivers/media/platform
Young Xiao 64f883cd98 media: davinci: vpif_capture: fix memory leak in vpif_probe()
If vpif_probe() fails on v4l2_device_register() and vpif_probe_complete(),
then memory allocated at initialize_vpif() for global vpif_obj.dev[i]
become unreleased.

The patch adds deallocation of vpif_obj.dev[i] on the error path.

Signed-off-by: Young Xiao <92siuyang@gmail.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-06-12 10:46:06 -04:00
..
am437x treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
atmel Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
cadence treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
cec-gpio Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
coda media: drivers: media: coda: fix warning same module names 2019-06-12 10:45:05 -04:00
cros-ec-cec treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
davinci media: davinci: vpif_capture: fix memory leak in vpif_probe() 2019-06-12 10:46:06 -04:00
exynos-gsc Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
exynos4-is Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
marvell-ccic Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
meson media: platform: ao-cec-g12a: remove spin_lock_irqsave() locking in meson_ao_cec_g12a_read/write 2019-06-05 15:57:18 -04:00
mtk-jpeg Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
mtk-mdp Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
mtk-vcodec Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
mtk-vpu Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
omap Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
omap3isp Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
qcom Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
rcar-vin media: rcar-csi2: Fix coccinelle warning for PTR_ERR_OR_ZERO() 2019-05-28 12:50:03 -04:00
rockchip/rga treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
s3c-camif treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
s5p-cec treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
s5p-g2d treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
s5p-jpeg treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
s5p-mfc Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
seco-cec treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
sti media: platform: Fix Warning of Unneeded Semicolon reported by coccicheck 2019-06-05 15:25:40 -04:00
stm32 media: stm32-dcmi: fix irq = 0 case 2019-06-05 15:28:32 -04:00
sunxi/sun6i-csi media: sun6i: Support A83T variant 2019-05-29 11:27:55 -04:00
tegra-cec treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 201 2019-05-30 11:29:52 -07:00
ti-vpe media: v4l2: Get rid of ->vidioc_enum_fmt_vid_{cap, out}_mplane 2019-06-05 07:48:32 -04:00
vicodec media: vicodec: improve handling of ENC_CMD_STOP/START 2019-06-11 11:33:44 -04:00
vimc Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
vivid media: vivid: fix incorrect assignment operation when setting video mode 2019-06-05 15:25:15 -04:00
vsp1 drm pull request for 5.2 2019-05-08 21:35:19 -07:00
xilinx media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
Kconfig Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
Makefile media: soc_camera: Move to the staging tree 2019-02-18 12:09:19 -05:00
aspeed-video.c media: aspeed: use different delays for triggering VE H/W reset 2019-06-05 15:54:39 -04:00
fsl-viu.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
imx-pxp.c media: replace strncpy() by strscpy() 2019-03-29 10:26:13 -04:00
imx-pxp.h media: imx-pxp: add i.MX Pixel Pipeline driver 2018-09-11 13:32:17 -04:00
m2m-deinterlace.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
mx2_emmaprp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pxa_camera.c Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
rcar-fcp.c Char/Misc driver patches for 4.19-rc1 2018-08-18 11:04:51 -07:00
rcar_drif.c media: rcar_drif: Remove devm_ioremap_resource() error printing 2019-03-19 13:44:38 -04:00
rcar_fdp1.c media: fdp1: Support M3N and E3 platforms 2019-06-11 12:29:54 -04:00
rcar_jpu.c media: v4l2: Get rid of ->vidioc_enum_fmt_vid_{cap, out}_mplane 2019-06-05 07:48:32 -04:00
renesas-ceu.c media: v4l2: Get rid of ->vidioc_enum_fmt_vid_{cap, out}_mplane 2019-06-05 07:48:32 -04:00
sh_veu.c media: platform/sh_veu.c: remove redundant NULL pointer checks 2019-03-19 13:49:19 -04:00
sh_vou.c media: doc-rst: Fix broken references 2018-11-23 05:42:49 -05:00
via-camera.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 354 2019-06-05 17:37:09 +02:00
via-camera.h media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
video-mux.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
vim2m.c media: vim2m: fix two double-free issues 2019-05-28 12:49:42 -04:00