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>
This commit is contained in:

committed by
Johan Hovold

parent
2944fd27d1
commit
fe1f68a08f
@@ -491,6 +491,7 @@ static void kobil_set_termios(struct tty_struct *tty,
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
speed = 9600;
|
speed = 9600;
|
||||||
|
/* fall through */
|
||||||
case 9600:
|
case 9600:
|
||||||
urb_val = SUSBCR_SBR_9600;
|
urb_val = SUSBCR_SBR_9600;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user