summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-02-09 10:49:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-09 15:34:18 +0300
commit7c92e5fbf4dac0dd4dd41a0383adc54f16f403e2 (patch)
tree216fdbf63bd111de390599b8229fa32fdf526078 /drivers/usb
parentb7ecfe7126d23b1329dc5e63db3caa5eecb322eb (diff)
downloadlinux-7c92e5fbf4dac0dd4dd41a0383adc54f16f403e2.tar.xz
drivers: usb: usbip: Add missing break statement to switch
Add missing break statement to prevent the code for case USB_PORT_FEAT_C_RESET falling through to the default case. Addresses-Coverity-ID: 143155 Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/usbip/vhci_hcd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/usbip/vhci_hcd.c b/drivers/usb/usbip/vhci_hcd.c
index c4724fb3a691..e4cb9f0625e8 100644
--- a/drivers/usb/usbip/vhci_hcd.c
+++ b/drivers/usb/usbip/vhci_hcd.c
@@ -313,6 +313,7 @@ static int vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
default:
break;
}
+ break;
default:
usbip_dbg_vhci_rh(" ClearPortFeature: default %x\n",
wValue);