net: rose: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
279badc2a8
commit
a05b8c43ac
@@ -219,6 +219,7 @@ static int rose_state4_machine(struct sock *sk, struct sk_buff *skb, int framety
|
||||
switch (frametype) {
|
||||
case ROSE_RESET_REQUEST:
|
||||
rose_write_internal(sk, ROSE_RESET_CONFIRMATION);
|
||||
/* fall through */
|
||||
case ROSE_RESET_CONFIRMATION:
|
||||
rose_stop_timer(sk);
|
||||
rose_start_idletimer(sk);
|
||||
|
Reference in New Issue
Block a user