USB: usb_wwan: make resume error messages uniform
authorJohan Hovold <jhovold@gmail.com>
Mon, 26 May 2014 17:23:25 +0000 (19:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 22:04:07 +0000 (15:04 -0700)
Make resume error messages uniform.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/usb_wwan.c

index b671d59e356e5dfe50df945c5eacb1a80a78b3ec..3737006930c0e161cba3e527d8806d7a1ffd1368 100644 (file)
@@ -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++;
                        }
                }