Skip to content

Commit

Permalink
USB: serial: kobil_sct: mark expected switch fall-through
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gustavo A. R. Silva authored and Johan Hovold committed Oct 30, 2017
1 parent 2944fd2 commit fe1f68a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/usb/serial/kobil_sct.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fe1f68a

Please sign in to comment.