From: Gustavo A. R. Silva Date: Mon, 16 Oct 2017 21:53:16 +0000 (-0500) Subject: net: ipx: mark expected switch fall-through X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d4f4da3e13ae7a405fa1da11ff4070588e700445;p=linux.git net: ipx: 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/ipx/af_ipx.c b/net/ipx/af_ipx.c index ac598ec905894..d21a9d128d3e4 100644 --- a/net/ipx/af_ipx.c +++ b/net/ipx/af_ipx.c @@ -1867,6 +1867,7 @@ static int ipx_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) rc = -EPERM; if (!capable(CAP_NET_ADMIN)) break; + /* fall through */ case SIOCGIFADDR: rc = ipxitf_ioctl(cmd, argp); break;