summaryrefslogtreecommitdiffstats
path: root/drivers/staging/usbip/vhci_rx.c
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2011-05-06 03:47:54 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-06 14:26:15 -0700
commit49aecefcdef5a26a7fb036d4c57573f0e0e2089b (patch)
tree2ce61485855d09f21d8b812739fb2abcfee6a526 /drivers/staging/usbip/vhci_rx.c
parent5c6499d8bfff6090391ea4995512e78385b9b1e7 (diff)
downloadop-kernel-dev-49aecefcdef5a26a7fb036d4c57573f0e0e2089b.zip
op-kernel-dev-49aecefcdef5a26a7fb036d4c57573f0e0e2089b.tar.gz
staging: usbip: add break to default case in switch statements
For consistency, a break statement is added to all default cases that do not jump to a label. Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/usbip/vhci_rx.c')
-rw-r--r--drivers/staging/usbip/vhci_rx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/usbip/vhci_rx.c b/drivers/staging/usbip/vhci_rx.c
index 61b9fc7..46f2ee5 100644
--- a/drivers/staging/usbip/vhci_rx.c
+++ b/drivers/staging/usbip/vhci_rx.c
@@ -247,10 +247,11 @@ static void vhci_rx_pdu(struct usbip_device *ud)
vhci_recv_ret_unlink(vdev, &pdu);
break;
default:
- /* NOTREACHED */
+ /* NOT REACHED */
usbip_uerr("unknown pdu %u\n", pdu.base.command);
usbip_dump_header(&pdu);
usbip_event_add(ud, VDEV_EVENT_ERROR_TCP);
+ break;
}
}
OpenPOWER on IntegriCloud