Commit 1949f9e2 authored by Alan Stern's avatar Alan Stern Committed by Greg Kroah-Hartman

USB: xhci-hcd: print URB's expected length in decimal, not hex

This patch changes the output format specifier of a debugging line in
the xhci-hcd driver.  An URB's transfer_buffer_length should be
printed in decimal; there's no reason to print it in hex.  Especially
since the actual_length value, printed earlier on the same line, is
already in decimal.
Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Cc: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b69cc672
...@@ -2272,7 +2272,7 @@ static int handle_tx_event(struct xhci_hcd *xhci, ...@@ -2272,7 +2272,7 @@ static int handle_tx_event(struct xhci_hcd *xhci,
(status != 0 && (status != 0 &&
!usb_endpoint_xfer_isoc(&urb->ep->desc))) !usb_endpoint_xfer_isoc(&urb->ep->desc)))
xhci_dbg(xhci, "Giveback URB %p, len = %d, " xhci_dbg(xhci, "Giveback URB %p, len = %d, "
"expected = %x, status = %d\n", "expected = %d, status = %d\n",
urb, urb->actual_length, urb, urb->actual_length,
urb->transfer_buffer_length, urb->transfer_buffer_length,
status); status);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment