diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-15 12:55:23 -0500 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-11-13 12:11:39 +0100 |
commit | 18370b36b28a6c1b059392e9b8f9a80332e51e7c (patch) | |
tree | e59f88ab5cf71d837e826d413b4c88295a96b99a /net/ceph/messenger.c | |
parent | 76bd6ec4988065d39983ba8e93bb738313f68050 (diff) | |
download | linux-18370b36b28a6c1b059392e9b8f9a80332e51e7c.tar.gz linux-18370b36b28a6c1b059392e9b8f9a80332e51e7c.tar.bz2 linux-18370b36b28a6c1b059392e9b8f9a80332e51e7c.zip |
ceph: 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>
[idryomov@gmail.com: amended "Older OSDs" comment]
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net/ceph/messenger.c')
-rw-r--r-- | net/ceph/messenger.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ceph/messenger.c b/net/ceph/messenger.c index ad93342c90d7..8a4d3758030b 100644 --- a/net/ceph/messenger.c +++ b/net/ceph/messenger.c @@ -430,6 +430,7 @@ static void ceph_sock_state_change(struct sock *sk) switch (sk->sk_state) { case TCP_CLOSE: dout("%s TCP_CLOSE\n", __func__); + /* fall through */ case TCP_CLOSE_WAIT: dout("%s TCP_CLOSE_WAIT\n", __func__); con_sock_state_closing(con); |