summaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-04-04 05:48:40 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-04-08 12:04:42 +0200
commit2c930e3d0aed1505e86e0928d323df5027817740 (patch)
tree1bb0442231099a4818b6cef69b17fc9e5c764657 /drivers/usb/misc
parentusb: hcd: use correct device pointer for dma ops (diff)
downloadlinux-2c930e3d0aed1505e86e0928d323df5027817740.tar.xz
linux-2c930e3d0aed1505e86e0928d323df5027817740.zip
usb: misc: add missing continue in switch
Add missing continue in switch. Addresses-Coverity-ID: 1248733 Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc')
-rw-r--r--drivers/usb/misc/usbtest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/misc/usbtest.c b/drivers/usb/misc/usbtest.c
index 17c081068257..26ae5d1a2a4e 100644
--- a/drivers/usb/misc/usbtest.c
+++ b/drivers/usb/misc/usbtest.c
@@ -159,6 +159,7 @@ get_endpoints(struct usbtest_dev *dev, struct usb_interface *intf)
case USB_ENDPOINT_XFER_INT:
if (dev->info->intr)
goto try_intr;
+ continue;
case USB_ENDPOINT_XFER_ISOC:
if (dev->info->iso)
goto try_iso;