android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Alan Stern fc566b5a21 USB: core: Avoid WARNings for 0-length descriptor requests
[ Upstream commit 60dfe484cef45293e631b3a6e8995f1689818172 ]

The USB core has utility routines to retrieve various types of
descriptors.  These routines will now provoke a WARN if they are asked
to retrieve 0 bytes (USB "receive" requests must not have zero
length), so avert this by checking the size argument at the start.

CC: Johan Hovold <[email protected]>
Reported-and-tested-by: [email protected]
Reviewed-by: Johan Hovold <[email protected]>
Signed-off-by: Alan Stern <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2021-08-26 08:36:13 -04:00
..
atm
c67x00
cdns3 usb: cdns3: Fixed incorrect gadget state 2021-08-12 13:20:59 +02:00
chipidea
class USB: usbtmc: Fix RCU stall warning 2021-08-12 13:20:58 +02:00
common usb: otg-fsm: Fix hrtimer list corruption 2021-08-12 13:21:00 +02:00
core USB: core: Avoid WARNings for 0-length descriptor requests 2021-08-26 08:36:13 -04:00
dwc2 usb: dwc2: gadget: Fix sending zero length packet in DDMA mode. 2021-07-28 13:31:00 +02:00
dwc3 usb: dwc3: gadget: Avoid runtime resume if disabling pullup 2021-08-15 13:08:03 +02:00
early
gadget usb: gadget: f_hid: idle uses the highest byte for duration 2021-08-12 13:21:00 +02:00
host USB:ehci:fix Kunpeng920 ehci hardware problem 2021-08-15 13:08:04 +02:00
image
isp1760
misc USB: trancevibrator: fix control-request direction 2021-06-03 08:59:04 +02:00
mon
mtu3
musb usb: musb: fix MUSB_QUIRK_B_DISCONNECT_99 handling 2021-06-16 11:59:41 +02:00
phy
renesas_usbhs usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop() 2021-07-28 13:31:00 +02:00
roles
serial USB: serial: ftdi_sio: add device ID for Auto-M3 OP-COM v2 2021-08-12 13:20:59 +02:00
storage USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS 2021-07-28 13:30:59 +02:00
typec usb: typec: Add the missed altmode_id_remove() in typec_register_altmode() 2021-07-14 16:53:01 +02:00
usbip usbip: vudc: fix missing unlock on error in usbip_sockfd_store() 2021-05-14 09:44:22 +02:00
Kconfig
Makefile
usb-skeleton.c