USB: xhci-hcd: print URB's expected length in decimal, not hex
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 7 May 2012 17:22:52 +0000 (13:22 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2012 23:43:58 +0000 (16:43 -0700)
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>
drivers/usb/host/xhci-ring.c

index d40194c8ca60fc78f6c149c986ce8dc442407993..329fd2a98dd66e3bf2bdbf393e020783b4e97776 100644 (file)
@@ -2272,7 +2272,7 @@ cleanup:
                                        (status != 0 &&
                                         !usb_endpoint_xfer_isoc(&urb->ep->desc)))
                                xhci_dbg(xhci, "Giveback URB %p, len = %d, "
-                                               "expected = %x, status = %d\n",
+                                               "expected = %d, status = %d\n",
                                                urb, urb->actual_length,
                                                urb->transfer_buffer_length,
                                                status);