From: Alexander Stein Date: Mon, 23 Jan 2017 12:19:57 +0000 (+0200) Subject: xhci: Put warning message on a single line X-Git-Tag: v4.11-rc1~119^2~73 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=52c31bd5294d838315ea0211a991cfcd60b625ff;p=karo-tx-linux.git xhci: Put warning message on a single line This allows someone to grep for the complete warning message as in; xhci-hcd xhci-hcd.0.auto: USB core suspending device not in U0/U1/U2. Signed-off-by: Alexander Stein Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/xhci-hub.c b/drivers/usb/host/xhci-hub.c index 0ef16900efed..2d154e27c142 100644 --- a/drivers/usb/host/xhci-hub.c +++ b/drivers/usb/host/xhci-hub.c @@ -990,8 +990,7 @@ int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, temp = readl(port_array[wIndex]); if ((temp & PORT_PE) == 0 || (temp & PORT_RESET) || (temp & PORT_PLS_MASK) >= XDEV_U3) { - xhci_warn(xhci, "USB core suspending device " - "not in U0/U1/U2.\n"); + xhci_warn(xhci, "USB core suspending device not in U0/U1/U2.\n"); goto error; }