summaryrefslogtreecommitdiffstats
path: root/net/ipx
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-10-16 17:53:16 -0400
committerDavid S. Miller <davem@davemloft.net>2017-10-18 09:13:08 -0400
commitd4f4da3e13ae7a405fa1da11ff4070588e700445 (patch)
treed153cc2bd11c207af6a5aedb941245bbd0ab8c70 /net/ipx
parent275757e6bae15a8621130907a78096afd1e15d2c (diff)
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 <garsilva@embeddedor.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipx')
-rw-r--r--net/ipx/af_ipx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipx/af_ipx.c b/net/ipx/af_ipx.c
index ac598ec90589..d21a9d128d3e 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)
1867 rc = -EPERM; 1867 rc = -EPERM;
1868 if (!capable(CAP_NET_ADMIN)) 1868 if (!capable(CAP_NET_ADMIN))
1869 break; 1869 break;
1870 /* fall through */
1870 case SIOCGIFADDR: 1871 case SIOCGIFADDR:
1871 rc = ipxitf_ioctl(cmd, argp); 1872 rc = ipxitf_ioctl(cmd, argp);
1872 break; 1873 break;