summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/kobil_sct.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-10-24 11:52:46 -0500
committerJohan Hovold <johan@kernel.org>2017-10-30 15:24:56 +0100
commitfe1f68a08fbffd8c84bf8e7f72d2d531a3fe8f50 (patch)
treeb266a8a63089cef6146033a022eaf068453fe642 /drivers/usb/serial/kobil_sct.c
parent2944fd27d1c0e3f8d89287c2d41e7aa640b68d65 (diff)
downloadlinux-fe1f68a08fbffd8c84bf8e7f72d2d531a3fe8f50.tar.gz
linux-fe1f68a08fbffd8c84bf8e7f72d2d531a3fe8f50.tar.bz2
linux-fe1f68a08fbffd8c84bf8e7f72d2d531a3fe8f50.zip
USB: serial: kobil_sct: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 115014 Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/kobil_sct.c')
-rw-r--r--drivers/usb/serial/kobil_sct.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/serial/kobil_sct.c b/drivers/usb/serial/kobil_sct.c
index 3024b9b25360..2f8fa3589b20 100644
--- a/drivers/usb/serial/kobil_sct.c
+++ b/drivers/usb/serial/kobil_sct.c
@@ -491,6 +491,7 @@ static void kobil_set_termios(struct tty_struct *tty,
break;
default:
speed = 9600;
+ /* fall through */
case 9600:
urb_val = SUSBCR_SBR_9600;
break;