From: Gustavo A. R. Silva Date: Tue, 24 Oct 2017 16:52:46 +0000 (-0500) Subject: USB: serial: kobil_sct: mark expected switch fall-through X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=fe1f68a08fbffd8c84bf8e7f72d2d531a3fe8f50;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Johan Hovold --- 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;