From: Andiry Xu Date: Fri, 23 Sep 2011 21:19:55 +0000 (-0700) Subject: xHCI: fix debug message X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=cd68176abf1098af83c968da274fe908eb7a8a72;p=deliverable%2Flinux.git xHCI: fix debug message Fix the debug message in xhci_address_device(). Signed-off-by: Andiry Xu Signed-off-by: Sarah Sharp Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 4648cc0c5721..7bf86774b1aa 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -3476,7 +3476,7 @@ int xhci_address_device(struct usb_hcd *hcd, struct usb_device *udev) * command on a timeout. */ if (timeleft <= 0) { - xhci_warn(xhci, "%s while waiting for a slot\n", + xhci_warn(xhci, "%s while waiting for address device command\n", timeleft == 0 ? "Timeout" : "Signal"); /* FIXME cancel the address device command */ return -ETIME;