linux_dsm_epyc7002/drivers/misc
Keita Suzuki bc28369c61 misc: rtsx: Fix memory leak in rtsx_pci_probe
When mfd_add_devices() fail, pcr->slots should also be freed. However,
the current implementation does not free the member, leading to a memory
leak.

Fix this by adding a new goto label that frees pcr->slots.

Signed-off-by: Keita Suzuki <keitasuzuki.park@sslab.ics.keio.ac.jp>
Link: https://lore.kernel.org/r/20200909071853.4053-1-keitasuzuki.park@sslab.ics.keio.ac.jp
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-09-16 17:30:37 +02:00
..
altera-stapl
c2port
cardreader misc: rtsx: Fix memory leak in rtsx_pci_probe 2020-09-16 17:30:37 +02:00
cb710
cxl
echo char: Replace HTTP links with HTTPS ones 2020-07-23 09:44:15 +02:00
eeprom Linux 5.9-rc5 2020-09-14 10:07:08 +02:00
genwqe pci-v5.9-changes 2020-08-07 18:48:15 -07:00
habanalabs habanalabs: fix report of RAZWI initiator coordinates 2020-08-31 15:10:27 +03:00
ibmasm
lis3lv02d
lkdtm
mei Merge 5.9-rc3 into char-misc-next 2020-08-31 07:17:17 +02:00
mic treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
ocxl ocxl: Address kernel doc errors & warnings 2020-07-29 23:47:52 +10:00
sgi-gru treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
sgi-xp treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
ti-st
uacce uacce: Use kobj_to_dev() instead of container_of() 2020-09-07 14:30:35 +02:00
vmw_vmci VMCI: check return value of get_user_pages_fast() for errors 2020-08-28 12:31:39 +02:00
ad525x_dpot-i2c.c
ad525x_dpot-spi.c
ad525x_dpot.c
ad525x_dpot.h
apds990x.c
apds9802als.c
atmel_tclib.c
atmel-ssc.c
bh1770glc.c
cs5535-mfgpt.c
ds1682.c
dummy-irq.c
enclosure.c
fastrpc.c misc: fastrpc: fix common struct sg_table related issues 2020-08-28 12:10:04 +02:00
hisi_hikey_usb.c misc: hisi_hikey_usb: fix return of uninitialized ret status variable 2020-09-14 16:46:42 +02:00
hmc6352.c
hpilo.c misc: hpilo: avoid a useless memset 2020-07-23 12:56:49 +02:00
hpilo.h
ibmvmc.c mm, treewide: rename kzfree() to kfree_sensitive() 2020-08-07 11:33:22 -07:00
ibmvmc.h
ics932s401.c
isl29003.c
isl29020.c
Kconfig misc: hisi_hikey_usb: add support for Hikey 970 2020-09-10 18:56:41 +02:00
kgdbts.c
lattice-ecp3-config.c
Makefile misc: hisi_hikey_usb: Driver to support onboard USB gpio hub on Hikey960 2020-09-10 18:56:38 +02:00
pch_phub.c
pci_endpoint_test.c misc: pci_endpoint_test: Add J721E in pci_device_id table 2020-08-03 14:50:08 +01:00
phantom.c
pti.c
pvpanic.c
qcom-coincell.c
sram-exec.c char: Replace HTTP links with HTTPS ones 2020-07-23 09:44:15 +02:00
sram.c
sram.h
tifm_7xx1.c
tifm_core.c
tsl2550.c
vmw_balloon.c
xilinx_sdfec.c