linux/drivers/media/platform/davinci
Evgeny Novikov 602649eada media: davinci: vpif_capture: fix potential double free
In case of errors vpif_probe_complete() releases memory for vpif_obj.sd
and unregisters the V4L2 device. But then this is done again by
vpif_probe() itself. The patch removes the cleaning from
vpif_probe_complete().

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Evgeny Novikov <novikov@ispras.ru>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-08-06 11:32:02 +02:00
..
ccdc_hw_device.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
dm355_ccdc_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
dm355_ccdc.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
dm644x_ccdc_regs.h media: use the BIT() macro 2019-08-26 14:08:50 -03:00
dm644x_ccdc.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
isif_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
isif.c media: isif: constify copied structure 2020-02-24 15:23:24 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile
vpbe_display.c media: davinci: replace http references with https 2020-07-19 07:54:47 +02:00
vpbe_osd_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 286 2019-06-05 17:36:37 +02:00
vpbe_osd.c media: davinci-vpbe: remove obsolete includes 2019-07-23 08:50:41 -04:00
vpbe_venc_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 286 2019-06-05 17:36:37 +02:00
vpbe_venc.c media: davinci-vpbe: remove obsolete includes 2019-07-23 08:50:41 -04:00
vpbe.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 286 2019-06-05 17:36:37 +02:00
vpfe_capture.c media: davinci: fix incorrect pix_fmt assignment 2020-02-24 17:15:01 +01:00
vpif_capture.c media: davinci: vpif_capture: fix potential double free 2020-08-06 11:32:02 +02:00
vpif_capture.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
vpif_display.c media: davinci: replace http references with https 2020-07-19 07:54:47 +02:00
vpif_display.h media: davinci: replace http references with https 2020-07-19 07:54:47 +02:00
vpif.c media: davinci: replace http references with https 2020-07-19 07:54:47 +02:00
vpif.h media: davinci: replace http references with https 2020-07-19 07:54:47 +02:00
vpss.c media: vpss: clean up resources in init 2020-07-19 13:38:08 +02:00