usb: serial: kobil_sct: mark expected switch fall-through
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/usb/serial/kobil_sct.c | 1 + 1 file changed, 1 insertion(+)
drivers/usb/serial/kobil_sct.c +1 -0
@@ -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 ;
Signature · 1 line
2.7.4
Johan Hovold
maintainerQuoted 5 lines · Gustavo A. R. Silva
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 <[email protected]>
Now applied, thanks.
Johan