From: Johan Hovold Date: Mon, 26 May 2014 17:23:25 +0000 (+0200) Subject: USB: usb_wwan: make resume error messages uniform X-Git-Tag: MMI-PSA29.97-13-9~11772^2~37^2~106 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b0f9d0030df8120713705c350fba8676f3556709;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git USB: usb_wwan: make resume error messages uniform Make resume error messages uniform. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/usb_wwan.c b/drivers/usb/serial/usb_wwan.c index b671d59e356e..3737006930c0 100644 --- a/drivers/usb/serial/usb_wwan.c +++ b/drivers/usb/serial/usb_wwan.c @@ -672,8 +672,9 @@ int usb_wwan_resume(struct usb_serial *serial) urb = portdata->in_urbs[j]; err = usb_submit_urb(urb, GFP_ATOMIC); if (err < 0) { - dev_err(&port->dev, "%s: Error %d for bulk URB %d\n", - __func__, err, i); + dev_err(&port->dev, + "%s: submit read urb %d failed: %d\n", + __func__, i, err); err_count++; } }