OpenCloudOS-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 USB: Add driver to control USB fast charge for iOS devices 2020-02-12 11:01:55 -08:00
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 USB: apple-mfi-fastcharge: fix endianess issue in probe 2020-02-13 05:07:10 -08:00
appledisplay.c usb: appledisplay: remove needless check before usb_free_coherent() 2020-07-21 13:41:58 +02:00
chaoskey.c USB: chaoskey: fix error case of a timeout 2019-11-11 14:29:39 +01:00
cypress_cy7c63.c USB: cypress_cy7c63: convert to use dev_groups 2019-08-09 07:55:44 +02:00
cytherm.c USB: cytherm: convert to use dev_groups 2019-08-09 07:55:44 +02:00
ehset.c USB: ch9: add "USB_" prefix in front of TEST defines 2020-06-24 15:01:24 +02:00
emi26.c USB: misc: Remove redundant license text 2017-11-04 11:55:38 +01:00
emi62.c USB: misc: Remove redundant license text 2017-11-04 11:55:38 +01:00
ezusb.c USB: misc: Remove redundant license text 2017-11-04 11:55:38 +01:00
ftdi-elan.c usb: ftdi-elan: move a couple of statements to next line 2019-10-04 14:09:42 +02:00
idmouse.c USB: idmouse: fix interface sanity checks 2019-12-10 13:11:22 +01:00
iowarrior.c USB: iowarrior: fix up report size handling for some devices 2020-07-27 13:19:58 +02:00
isight_firmware.c USB: misc: Remove redundant license text 2017-11-04 11:55:38 +01:00
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 USB: trancevibrator: convert to use dev_groups 2019-08-09 07:55:45 +02:00
usb251xb.c usb: usb251xb: fix regulator probe and error handling 2020-03-04 10:56:26 +01:00
usb3503.c usb: usb3503: Convert to use GPIO descriptors 2019-12-30 20:40:19 +01:00
usb4604.c USB: misc: Remove redundant license text 2017-11-04 11:55:38 +01:00
usb_u132.h USB: misc: Use the correct style for SPDX License Identifier 2020-04-16 14:32:47 +02:00
usblcd.c USB: usblcd: use pr_err() 2019-10-04 11:11:08 +02:00
usbsevseg.c USB: usbsevseg: convert to use dev_groups 2019-08-09 07:55:45 +02:00
usbtest.c usb: usbtest: reduce stack usage in test_queue 2020-07-21 13:41:57 +02:00
uss720.c usb: misc: uss720: Fix two sleep-in-atomic-context bugs 2018-09-05 14:36:53 +02:00
yurex.c USB: yurex: Fix bad gfp argument 2020-08-18 11:48:57 +02:00