usb: misc: usbtest: improve the description for error message
authorPeter Chen <peter.chen@freescale.com>
Wed, 18 Nov 2015 09:40:23 +0000 (17:40 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Dec 2015 22:36:29 +0000 (14:36 -0800)
Now the function of complicated_callback is not only used for iso
transfer, improve the error message to reflect it.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/usbtest.c

index 637f3f7cfce8b884167ccd6e25c9d6de9cd0eaf6..c1bd1eb548bb9fcff1e32735cc8b8546b4bb755c 100644 (file)
@@ -1849,7 +1849,7 @@ static void complicated_callback(struct urb *urb)
                        goto done;
                default:
                        dev_err(&ctx->dev->intf->dev,
-                                       "iso resubmit err %d\n",
+                                       "resubmit err %d\n",
                                        status);
                        /* FALLTHROUGH */
                case -ENODEV:                   /* disconnected */
@@ -1863,7 +1863,7 @@ static void complicated_callback(struct urb *urb)
        if (ctx->pending == 0) {
                if (ctx->errors)
                        dev_err(&ctx->dev->intf->dev,
-                               "iso test, %lu errors out of %lu\n",
+                               "during the test, %lu errors out of %lu\n",
                                ctx->errors, ctx->packet_count);
                complete(&ctx->done);
        }
This page took 0.035371 seconds and 5 git commands to generate.