diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-20 12:05:30 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-22 03:07:50 +0100 |
commit | 110af3acb8cfd79dcb5676a01e07cb2b6afa4c04 (patch) | |
tree | 0ecb26770ccf2d086f5de9c96dd4c9bf6e2fbfa4 /net/unix/af_unix.c | |
parent | 3fa5f11de1ab98a6c54693b78880167a2693cee1 (diff) |
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/af_unix.c')
-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; |