aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorMathias Nyman <[email protected]>2019-10-04 14:59:26 +0300
committerGreg Kroah-Hartman <[email protected]>2019-10-04 14:32:10 +0200
commitc03101ff4f74bb30679c1a03d551ecbef1024bf6 (patch)
tree4e9a02858d13038731541356fbefd6da4a5acdae /drivers/usb/cdns3/cdns3-debug.h
parent0b074f6986751361ff442bc1127c1648567aa8d6 (diff)
xhci: Fix false warning message about wrong bounce buffer write length
The check printing out the "WARN Wrong bounce buffer write length:" uses incorrect values when comparing bytes written from scatterlist to bounce buffer. Actual copied lengths are fine. The used seg->bounce_len will be set to equal new_buf_len a few lines later in the code, but is incorrect when doing the comparison. The patch which added this false warning was backported to 4.8+ kernels so this should be backported as far as well. Cc: <[email protected]> # v4.8+ Fixes: 597c56e372da ("xhci: update bounce buffer with correct sg num") 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-debug.h')
0 files changed, 0 insertions, 0 deletions