WSL2-Linux-Kernel/drivers/char/xillybus
Hangyu Hua bc8fceda3b char: xillybus: fix a refcount leak in cleanup_dev()
[ Upstream commit b67d19662f ]

usb_get_dev is called in xillyusb_probe. So it is better to call
usb_put_dev before xdev is released.

Acked-by: Eli Billauer <eli.billauer@gmail.com>
Signed-off-by: Hangyu Hua <hbh25y@gmail.com>
Link: https://lore.kernel.org/r/20220406075703.23464-1-hbh25y@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 18:36:21 +02:00
..
Kconfig char: xillybus: Add driver for XillyUSB (Xillybus variant for USB) 2021-05-27 14:07:41 +02:00
Makefile char: xillybus: Add driver for XillyUSB (Xillybus variant for USB) 2021-05-27 14:07:41 +02:00
xillybus.h char: xillybus: Move class-related functions to new xillybus_class.c 2021-05-27 14:07:41 +02:00
xillybus_class.c char: xillybus: Remove unneeded MODULE_VERSION() usage 2021-06-03 14:10:03 +02:00
xillybus_class.h char: xillybus: Move class-related functions to new xillybus_class.c 2021-05-27 14:07:41 +02:00
xillybus_core.c char: xillybus: Remove unneeded MODULE_VERSION() usage 2021-06-03 14:10:03 +02:00
xillybus_of.c char: xillybus: Remove unneeded MODULE_VERSION() usage 2021-06-03 14:10:03 +02:00
xillybus_pcie.c char: xillybus: Remove unneeded MODULE_VERSION() usage 2021-06-03 14:10:03 +02:00
xillyusb.c char: xillybus: fix a refcount leak in cleanup_dev() 2022-06-14 18:36:21 +02:00