linux-stable/drivers
Dinghao Liu 7221d0a054 media: mx2_emmaprp: Fix memleak in emmaprp_probe
[ Upstream commit 21d387b8d3 ]

When platform_get_irq() fails, we should release
vfd and unregister pcdev->v4l2_dev just like the
subsequent error paths.

Fixes: d4e192cc44 ("media: mx2_emmaprp: Check for platform_get_irq() error")
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 09:07:02 +01:00
..
accessibility
acpi ACPI: EC: Reference count query handlers under lock 2020-10-01 13:12:31 +02:00
amba
android binder: fix UAF when releasing todo list 2020-10-29 09:06:59 +01:00
ata ata: sata_mv, avoid trigerrable BUG_ON 2020-10-01 13:12:52 +02:00
atm atm: eni: fix the missed pci_disable_device() for eni_init_one() 2020-10-01 13:12:50 +02:00
auxdisplay
base driver core: Fix probe_count imbalance in really_probe() 2020-10-14 09:51:11 +02:00
bcma
block rbd: require global CAP_SYS_ADMIN for mapping and unmapping 2020-09-23 10:46:30 +02:00
bluetooth Bluetooth: hci_serdev: Only unregister device if it was registered 2020-08-21 09:48:11 +02:00
bus
cdrom
char drivers: char: tlclk.c: Avoid data race between init and interrupt handler 2020-10-01 13:12:42 +02:00
clk clk: samsung: exynos4: mark 'chipid' clock as CLK_IGNORE_UNUSED 2020-10-14 09:51:08 +02:00
clocksource clocksource/drivers/h8300_timer8: Fix wrong return value in h8300_8timer_init() 2020-10-01 13:12:49 +02:00
connector
cpufreq cpufreq: powernv: Fix frame-size-overflow in powernv_cpufreq_work_fn 2020-10-01 13:12:39 +02:00
cpuidle cpuidle: Fixup IRQ state 2020-09-09 19:03:06 +02:00
crypto cypto: mediatek - fix leaks in mtk_desc_ring_alloc 2020-10-29 09:07:02 +01:00
dax
dca
devfreq PM / devfreq: tegra30: Fix integer overflow on CPU's freq max out 2020-10-01 13:12:28 +02:00
dio
dma dmaengine: tegra-apb: Prevent race conditions on channel's freeing 2020-10-01 13:12:35 +02:00
dma-buf
edac EDAC/i5100: Fix error handling order in i5100_init_one() 2020-10-29 09:07:00 +01:00
eisa
extcon extcon: adc-jack: Fix an error handling path in 'adc_jack_probe()' 2020-06-25 15:41:55 +02:00
firewire
firmware efi: Make it possible to disable efivar_ssdt entirely 2020-07-09 09:36:33 +02:00
fmc
fpga
fsi
gpio gpio: tc35894: fix up tc35894 interrupt configuration 2020-10-14 09:51:06 +02:00
gpu drm/amdgpu: prevent double kfree ttm->sg 2020-10-14 09:51:12 +02:00
hid HID: core: Sanitize event code and type when mapping input 2020-09-09 19:03:06 +02:00
hsi
hv Drivers: hv: vmbus: Add timeout to vmbus_wait_for_unload 2020-09-23 10:46:35 +02:00
hwmon hwmon: (applesmc) check status earlier. 2020-09-09 19:03:06 +02:00
hwspinlock
hwtracing coresight: tmc: Fix TMC mode read in tmc_read_unprepare_etb() 2020-08-21 09:48:10 +02:00
i2c i2c: meson: fix clock setting overwrite 2020-10-14 09:51:12 +02:00
ide block: Move SECTOR_SIZE and SECTOR_SHIFT definitions into <linux/blkdev.h> 2020-09-09 19:03:12 +02:00
idle
iio iio:accel:mma8452: Fix timestamp alignment and prevent data leak. 2020-09-23 10:46:29 +02:00
infiniband RDMA/rxe: Set sys_image_guid to be aligned with HW IB devices 2020-10-01 13:12:39 +02:00
input Input: trackpoint - enable Synaptics trackpoints 2020-10-14 09:51:08 +02:00
iommu iommu/exynos: add missing put_device() call in exynos_iommu_of_xlate() 2020-10-14 09:51:08 +02:00
ipack
irqchip genirq/affinity: Make affinity setting if activated opt-in 2020-08-21 09:48:23 +02:00
isdn
leds leds: core: Flush scheduled work for system suspend 2020-08-21 09:48:09 +02:00
lightnvm
macintosh drivers/macintosh: Fix memleak in windfarm_pm112 driver 2020-06-20 10:25:19 +02:00
mailbox
mcb
md bcache: fix a lost wake-up problem caused by mca_cannibalize_lock 2020-10-01 13:12:29 +02:00
media media: mx2_emmaprp: Fix memleak in emmaprp_probe 2020-10-29 09:07:02 +01:00
memory
memstick
message scsi: mptscsih: Fix read sense data size 2020-07-22 09:22:16 +02:00
mfd mfd: mfd-core: Protect against NULL call-back function pointer 2020-10-01 13:12:28 +02:00
misc cxl: Fix kobject memleak 2020-08-21 09:48:08 +02:00
mmc mmc: core: don't set limits.discard_granularity as 0 2020-10-14 09:51:14 +02:00
mtd mtd: rawnand: sunxi: Fix the probe error path 2020-10-14 09:51:11 +02:00
mux
net net: hdlc_raw_eth: Clear the IFF_TX_SKB_SHARING flag after calling ether_setup 2020-10-29 09:06:59 +01:00
nfc NFC: st95hf: Fix memleak in st95hf_in_send_cmd 2020-09-23 10:46:26 +02:00
ntb NTB: Fix the default port and peer numbers for legacy drivers 2020-06-25 15:41:50 +02:00
nubus
nvdimm block: Move SECTOR_SIZE and SECTOR_SHIFT definitions into <linux/blkdev.h> 2020-09-09 19:03:12 +02:00
nvme nvme-fc: fail new connections to a deleted host or remote port 2020-10-14 09:51:08 +02:00
nvmem nvmem: qfprom: remove incorrect write support 2020-06-11 09:23:01 +02:00
of of: of_mdio: Correct loop scanning logic 2020-07-22 09:22:23 +02:00
oprofile
parisc parisc: mask out enable and reserved bits from sba imask 2020-08-21 09:48:16 +02:00
parport
pci PCI: Fix pci_create_slot() reference count leak 2020-09-03 11:22:26 +02:00
pcmcia
perf drivers/perf: xgene_pmu: Fix uninitialized resource struct 2020-10-29 09:07:00 +01:00
phy phy: samsung: s5pv210-usb2: Add delay after reset 2020-10-01 13:12:43 +02:00
pinctrl pinctrl: mvebu: Fix i2c sda definition for 98DX3236 2020-10-14 09:51:08 +02:00
platform platform/x86: fix kconfig dependency warning for FUJITSU_LAPTOP 2020-10-14 09:51:13 +02:00
pnp
power power: supply: max17040: Correct voltage reading 2020-10-01 13:12:43 +02:00
powercap
pps
ps3
ptp
pwm pwm: bcm-iproc: handle clk_get_rate() return 2020-08-21 09:48:21 +02:00
rapidio rapidio: avoid data race between file operation callbacks and mport_cdev_add(). 2020-10-01 13:12:46 +02:00
ras
regulator regulator: push allocation in set_consumer_device_supply() out of lock 2020-09-23 10:46:30 +02:00
remoteproc remoteproc: Fix IDR initialisation in rproc_alloc() 2020-06-25 15:41:47 +02:00
reset
rpmsg
rtc rtc: ds1374: fix possible race condition 2020-10-01 13:12:38 +02:00
s390 s390/dasd: Fix zero write for FBA devices 2020-10-01 13:12:51 +02:00
sbus
scsi scsi: libfc: Skip additional kref updating work event 2020-10-01 13:12:48 +02:00
sfi
sh
sn
soc
spi spi: fsl-espi: Only process interrupts for expected events 2020-10-14 09:51:08 +02:00
spmi
ssb
staging staging: comedi: check validity of wMaxPacketSize of usb endpoints found 2020-10-17 10:29:54 +02:00
target scsi: target: iscsi: Fix hang in iscsit_access_np() when getting tpg->np_login_sem 2020-09-23 10:46:30 +02:00
tc
tee
thermal thermal: ti-soc-thermal: Fix bogus thermal shutdowns for omap4430 2020-09-09 19:03:10 +02:00
thunderbolt
tty tty: serial: samsung: Correct clock selection logic 2020-10-01 13:12:43 +02:00
uio uio_pdrv_genirq: fix use without device tree and no interrupt 2020-07-22 09:22:27 +02:00
usb USB: serial: ftdi_sio: add support for FreeCalypso JTAG+UART adapters 2020-10-17 10:29:55 +02:00
uwb
vfio vfio/pci: fix racy on error and request eventfd ctx 2020-10-01 13:12:48 +02:00
vhost vsock/virtio: add transport parameter to the virtio_transport_reset_no_sock() 2020-10-14 09:51:06 +02:00
video fbcon: Fix global-out-of-bounds read in fbcon_get_font() 2020-10-14 09:51:10 +02:00
virt
virtio virtio_ring: Avoid loop when vq is broken in virtqueue_poll 2020-08-26 10:29:57 +02:00
vlynq
vme
w1 w1: omap-hdq: cleanup to add missing newline for some dev_dbg 2020-06-20 10:25:20 +02:00
watchdog watchdog: f71808e_wdt: clear watchdog timeout occurred flag 2020-08-21 09:48:19 +02:00
xen xen/xenbus: Fix granting of vmalloc'd memory 2020-09-09 19:03:07 +02:00
zorro
Kconfig
Makefile