summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprt.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-10-20 11:48:30 -0500
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-11-17 16:43:44 -0500
commite9d476393504ff0f9ab38d88d7857ec6a2c81ff6 (patch)
tree537a82d5db221728399ba8edf5d108ebf4487b84 /net/sunrpc/xprt.c
parent6089dd0d731028531fb1148be9fd33274ff90da4 (diff)
downloadlinux-stable-e9d476393504ff0f9ab38d88d7857ec6a2c81ff6.tar.gz
linux-stable-e9d476393504ff0f9ab38d88d7857ec6a2c81ff6.tar.bz2
linux-stable-e9d476393504ff0f9ab38d88d7857ec6a2c81ff6.zip
net: sunrpc: mark expected switch fall-throughs
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: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprt.c')
-rw-r--r--net/sunrpc/xprt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/xprt.c b/net/sunrpc/xprt.c
index e741ec2b4d8e..02a9bacb239b 100644
--- a/net/sunrpc/xprt.c
+++ b/net/sunrpc/xprt.c
@@ -1139,6 +1139,7 @@ void xprt_alloc_slot(struct rpc_xprt *xprt, struct rpc_task *task)
case -EAGAIN:
xprt_add_backlog(xprt, task);
dprintk("RPC: waiting for request slot\n");
+ /* fall through */
default:
task->tk_status = -EAGAIN;
}