Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1615531

[PATCH 1/2] usb: misc: add missing continue in switch

From "Gustavo A. R. Silva" <garsilva@embeddedor.com>
Newsgroups linux.kernel
Subject [PATCH 1/2] usb: misc: add missing continue in switch
Date 2017-04-03 22:10 +0200
Message-ID <tsgiS-2PU-15@gated-at.bofh.it> (permalink)
References <tsfPP-2Fz-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Add missing continue in switch.

Addresses-Coverity-ID: 1248733
Cc: Alan Stern <stern@rowloand.harvard.edu>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
---
 drivers/usb/misc/usbtest.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/misc/usbtest.c b/drivers/usb/misc/usbtest.c
index 3525626..7bfb6b78 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;
-- 
2.5.0

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] usb: misc: add missing continue and refactor code "Gustavo A. R. Silva" <garsilva@embeddedor.com> - 2017-04-03 19:40 +0200
  Re: [PATCH] usb: misc: add missing continue and refactor code Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-04-03 20:00 +0200
    Re: [PATCH] usb: misc: add missing continue and refactor code Alan Stern <stern@rowland.harvard.edu> - 2017-04-03 20:40 +0200
      Re: [PATCH] usb: misc: add missing continue and refactor code "Gustavo A. R. Silva" <garsilva@embeddedor.com> - 2017-04-03 21:30 +0200
        [PATCH 1/2] usb: misc: add missing continue in switch "Gustavo A. R. Silva" <garsilva@embeddedor.com> - 2017-04-03 22:10 +0200

csiph-web