mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-06 01:46:40 +07:00
1105a13bb8
If "device is disconnected" check occurs to be true in ezusb_access_ltv(), it just return -ENODEV. But that means request_context is leaked since there are no any references to it anymore. The patch adds a call to ezusb_request_context_put() before return. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
airport.c | ||
cfg.c | ||
cfg.h | ||
fw.c | ||
fw.h | ||
hermes_dld.c | ||
hermes_dld.h | ||
hermes_rid.h | ||
hermes.c | ||
hermes.h | ||
hw.c | ||
hw.h | ||
Kconfig | ||
main.c | ||
main.h | ||
Makefile | ||
mic.c | ||
mic.h | ||
orinoco_cs.c | ||
orinoco_nortel.c | ||
orinoco_pci.c | ||
orinoco_pci.h | ||
orinoco_plx.c | ||
orinoco_tmd.c | ||
orinoco_usb.c | ||
orinoco.h | ||
scan.c | ||
scan.h | ||
spectrum_cs.c | ||
wext.c | ||
wext.h |