diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-19 23:54:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-24 11:27:06 +0200 |
commit | e3cf39706b89001fd7f3eba0aa70aa40379eef30 (patch) | |
tree | 2cc59c0a471b8c2c50a454231103e6ea8c0c0adb /net/rxrpc/af_rxrpc.c | |
parent | Merge branch 'ipv6-addrconf-hash-improvements-and-cleanups' (diff) | |
download | linux-e3cf39706b89001fd7f3eba0aa70aa40379eef30.tar.xz linux-e3cf39706b89001fd7f3eba0aa70aa40379eef30.zip |
net: rxrpc: 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>
Diffstat (limited to 'net/rxrpc/af_rxrpc.c')
-rw-r--r-- | net/rxrpc/af_rxrpc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/rxrpc/af_rxrpc.c b/net/rxrpc/af_rxrpc.c index 054e32872808..344b2dcad52d 100644 --- a/net/rxrpc/af_rxrpc.c +++ b/net/rxrpc/af_rxrpc.c @@ -246,6 +246,7 @@ static int rxrpc_listen(struct socket *sock, int backlog) ret = 0; break; } + /* Fall through */ default: ret = -EBUSY; break; @@ -560,6 +561,7 @@ static int rxrpc_sendmsg(struct socket *sock, struct msghdr *m, size_t len) m->msg_name = &rx->connect_srx; m->msg_namelen = sizeof(rx->connect_srx); } + /* Fall through */ case RXRPC_SERVER_BOUND: case RXRPC_SERVER_LISTENING: ret = rxrpc_do_sendmsg(rx, m, len); |