aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-gadget.c
diff options
context:
space:
mode:
authorMathias Nyman <[email protected]>2021-06-17 18:03:53 +0300
committerGreg Kroah-Hartman <[email protected]>2021-06-17 17:34:29 +0200
commit271a21d8b280b186f8cc9ca6f7151902efde9512 (patch)
tree808b6e933eb400f603814f69c97e818c6b6118e1 /drivers/usb/cdns3/cdns3-gadget.c
parent90d551a5bc73d34c600507a1ef61f3a7c0840783 (diff)
xhci: handle failed buffer copy to URB sg list and fix a W=1 copiler warning
Set the urb->actual_length to bytes successfully copied in case all bytes weren't copied from a temporary buffer to the URB sg list. Also print a debug message Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-gadget.c')
0 files changed, 0 insertions, 0 deletions