aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc/usbtest.c
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2015-11-18 04:40:23 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-01 17:36:29 -0500
commitc7c7806700e15ca9c48d880f8c65071f041cd890 (patch)
treed4d731f45196ed3e85f984e53817b79d59109e0e /drivers/usb/misc/usbtest.c
parent144e38c6bebe41da8dc0e611f70fee53ce22604f (diff)
usb: misc: usbtest: improve the description for error message
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>
Diffstat (limited to 'drivers/usb/misc/usbtest.c')
-rw-r--r--drivers/usb/misc/usbtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/misc/usbtest.c b/drivers/usb/misc/usbtest.c
index 637f3f7cfce8..c1bd1eb548bb 100644
--- a/drivers/usb/misc/usbtest.c
+++ b/drivers/usb/misc/usbtest.c
@@ -1849,7 +1849,7 @@ static void complicated_callback(struct urb *urb)
1849 goto done; 1849 goto done;
1850 default: 1850 default:
1851 dev_err(&ctx->dev->intf->dev, 1851 dev_err(&ctx->dev->intf->dev,
1852 "iso resubmit err %d\n", 1852 "resubmit err %d\n",
1853 status); 1853 status);
1854 /* FALLTHROUGH */ 1854 /* FALLTHROUGH */
1855 case -ENODEV: /* disconnected */ 1855 case -ENODEV: /* disconnected */
@@ -1863,7 +1863,7 @@ static void complicated_callback(struct urb *urb)
1863 if (ctx->pending == 0) { 1863 if (ctx->pending == 0) {
1864 if (ctx->errors) 1864 if (ctx->errors)
1865 dev_err(&ctx->dev->intf->dev, 1865 dev_err(&ctx->dev->intf->dev,
1866 "iso test, %lu errors out of %lu\n", 1866 "during the test, %lu errors out of %lu\n",
1867 ctx->errors, ctx->packet_count); 1867 ctx->errors, ctx->packet_count);
1868 complete(&ctx->done); 1868 complete(&ctx->done);
1869 } 1869 }