linux-stable/drivers/misc
Shuah Khan 00f0aada52 misc: rtsx: set NULL intfdata when probe fails
[ Upstream commit f861d36e02 ]

rtsx_usb_probe() doesn't call usb_set_intfdata() to null out the
interface pointer when probe fails. This leaves a stale pointer.
Noticed the missing usb_set_intfdata() while debugging an unrelated
invalid DMA mapping problem.

Fix it with a call to usb_set_intfdata(..., NULL).

Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20220429210913.46804-1-skhan@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 18:41:35 +02:00
..
altera-stapl
bcm-vk
c2port
cardreader misc: rtsx: set NULL intfdata when probe fails 2022-06-14 18:41:35 +02:00
cb710
cxl Char/Misc and other driver changes for 5.17-rc1 2022-01-14 16:02:28 +01:00
echo
eeprom eeprom: at25: Use DMA safe buffers 2022-05-09 09:16:14 +02:00
genwqe
habanalabs habanalabs/gaudi: handle axi errors from NIC engines 2022-04-13 19:27:25 +02:00
ibmasm
lis3lv02d
lkdtm lkdtm/usercopy: Expand size of "out of frame" object 2022-06-14 18:41:33 +02:00
mei mei: avoid iterator usage outside of list_for_each_entry 2022-04-08 13:57:14 +02:00
ocxl misc: ocxl: fix possible double free in ocxl_file_register_afu 2022-06-09 10:26:02 +02:00
pvpanic misc/pvpanic: Convert regular spinlock into trylock on panic path 2022-06-14 18:41:16 +02:00
sgi-gru
sgi-xp
ti-st
uacce
vmw_vmci
ad525x_dpot-i2c.c
ad525x_dpot-spi.c
ad525x_dpot.c
ad525x_dpot.h
apds990x.c
apds9802als.c
atmel-ssc.c
bh1770glc.c
cs5535-mfgpt.c
ds1682.c
dummy-irq.c
dw-xdata-pcie.c
enclosure.c
fastrpc.c misc: fastrpc: fix an incorrect NULL check on list iterator 2022-06-14 18:41:15 +02:00
gehc-achc.c
hi6421v600-irq.c
hisi_hikey_usb.c
hmc6352.c
hpilo.c
hpilo.h
ibmvmc.c
ibmvmc.h
ics932s401.c
isl29003.c
isl29020.c
Kconfig
kgdbts.c kgdbts: fix return value of __setup handler 2022-04-08 13:58:30 +02:00
lattice-ecp3-config.c misc: lattice-ecp3-config: Fix task hung when firmware load failed 2021-12-30 14:11:40 +01:00
Makefile
pch_phub.c
pci_endpoint_test.c misc: pci_endpoint_test: Terminate statement with semicolon 2022-01-11 10:19:59 -06:00
phantom.c
qcom-coincell.c
sram-exec.c
sram.c
sram.h
tifm_7xx1.c
tifm_core.c
tsl2550.c
vmw_balloon.c
xilinx_sdfec.c