1
0
Fork 0

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>
hifive-unleashed-5.1
Gustavo A. R. Silva 2017-04-03 22:48:40 -05:00 committed by Greg Kroah-Hartman
parent bde654a55a
commit 2c930e3d0a
1 changed files with 1 additions and 0 deletions

View File

@ -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;