diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-20 19:05:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-22 04:07:50 +0200 |
commit | 110af3acb8cfd79dcb5676a01e07cb2b6afa4c04 (patch) | |
tree | 0ecb26770ccf2d086f5de9c96dd4c9bf6e2fbfa4 /net/unix | |
parent | geneve: Get rid of is_all_zero(), streamline is_tnl_info_zero() (diff) | |
download | linux-110af3acb8cfd79dcb5676a01e07cb2b6afa4c04.tar.xz linux-110af3acb8cfd79dcb5676a01e07cb2b6afa4c04.zip |
net: af_unix: mark expected switch fall-through
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/unix')
-rw-r--r-- | net/unix/af_unix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 7f46bab4ce5c..a9ee634f3c42 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c @@ -814,6 +814,7 @@ static int unix_create(struct net *net, struct socket *sock, int protocol, */ case SOCK_RAW: sock->type = SOCK_DGRAM; + /* fall through */ case SOCK_DGRAM: sock->ops = &unix_dgram_ops; break; |