aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2012-05-07 13:22:52 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-07 19:43:58 -0400
commit1949f9e2435cc2e87c63da167af63faafc49b388 (patch)
tree759bb2e7d4ab3336c859bb6ebda0a164a63783c5 /drivers/usb
parentb69cc672052540e8efb1368420f10d7d4d8b8a3d (diff)
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: Alan Stern <stern@rowland.harvard.edu> Cc: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/xhci-ring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
index d40194c8ca60..329fd2a98dd6 100644
--- a/drivers/usb/host/xhci-ring.c
+++ b/drivers/usb/host/xhci-ring.c
@@ -2272,7 +2272,7 @@ cleanup:
2272 (status != 0 && 2272 (status != 0 &&
2273 !usb_endpoint_xfer_isoc(&urb->ep->desc))) 2273 !usb_endpoint_xfer_isoc(&urb->ep->desc)))
2274 xhci_dbg(xhci, "Giveback URB %p, len = %d, " 2274 xhci_dbg(xhci, "Giveback URB %p, len = %d, "
2275 "expected = %x, status = %d\n", 2275 "expected = %d, status = %d\n",
2276 urb, urb->actual_length, 2276 urb, urb->actual_length,
2277 urb->transfer_buffer_length, 2277 urb->transfer_buffer_length,
2278 status); 2278 status);