WSL2-Linux-Kernel/drivers/usb/misc
Evgeny Novikov 531412492c USB: lvtest: return proper error code in probe
lvs_rh_probe() can return some nonnegative value from usb_control_msg()
when it is less than "USB_DT_HUB_NONVAR_SIZE + 2" that is considered as
a failure. Make lvs_rh_probe() return -EINVAL in this case.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Evgeny Novikov <novikov@ispras.ru>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200805090643.3432-1-novikov@ispras.ru
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-08-18 11:55:23 +02:00
..
sisusbvga TTY/Serial patches for 5.9-rc1 2020-08-06 14:56:11 -07:00
Kconfig USB: Replace HTTP links with HTTPS ones 2020-07-21 13:41:57 +02:00
Makefile
adutux.c usb: misc: adutux: Demote obvious misuse of kerneldoc to standard comment blocks 2020-07-09 16:46:57 +02:00
apple-mfi-fastcharge.c
appledisplay.c usb: appledisplay: remove needless check before usb_free_coherent() 2020-07-21 13:41:58 +02:00
chaoskey.c
cypress_cy7c63.c
cytherm.c
ehset.c USB: ch9: add "USB_" prefix in front of TEST defines 2020-06-24 15:01:24 +02:00
emi26.c
emi62.c
ezusb.c
ftdi-elan.c
idmouse.c
iowarrior.c USB: iowarrior: fix up report size handling for some devices 2020-07-27 13:19:58 +02:00
isight_firmware.c
ldusb.c usb: misc: ldusb: Demote obvious misuse of kerneldoc to standard comment blocks 2020-07-09 16:47:00 +02:00
legousbtower.c usb: misc: legousbtower: Demote function header which is clearly not kerneldoc 2020-07-09 17:19:56 +02:00
lvstest.c USB: lvtest: return proper error code in probe 2020-08-18 11:55:23 +02:00
trancevibrator.c
usb251xb.c
usb3503.c
usb4604.c
usb_u132.h
usblcd.c
usbsevseg.c
usbtest.c usb: usbtest: reduce stack usage in test_queue 2020-07-21 13:41:57 +02:00
uss720.c
yurex.c USB: yurex: Fix bad gfp argument 2020-08-18 11:48:57 +02:00