From: Gustavo A. R. Silva Date: Fri, 20 Oct 2017 17:05:30 +0000 (-0500) Subject: net: af_unix: mark expected switch fall-through X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=110af3acb8cfd79dcb5676a01e07cb2b6afa4c04;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: David S. Miller --- 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;