aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-10-12 11:17:12 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-18 15:33:10 +0200
commit7a6d76a9b4a50a7927f7ce61cee3cfbdfbfc3d47 (patch)
treeaaf9b86e73853c74238d3c54da7046883f2011ea /drivers/staging/lustre
parentstaging: lustre: lnet: net_fault: mark expected switch fall-through (diff)
downloadlinux-dev-7a6d76a9b4a50a7927f7ce61cee3cfbdfbfc3d47.tar.xz
linux-dev-7a6d76a9b4a50a7927f7ce61cee3cfbdfbfc3d47.zip
staging: lustre: lnet: selftest: 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> Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre')
-rw-r--r--drivers/staging/lustre/lnet/selftest/conctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/lustre/lnet/selftest/conctl.c b/drivers/staging/lustre/lnet/selftest/conctl.c
index 9619ecbf8bdf..551e921a8f78 100644
--- a/drivers/staging/lustre/lnet/selftest/conctl.c
+++ b/drivers/staging/lustre/lnet/selftest/conctl.c
@@ -151,6 +151,7 @@ lst_debug_ioctl(struct lstio_debug_args *args)
case LST_OPC_BATCHSRV:
client = 0;
+ /* fall through */
case LST_OPC_BATCHCLI:
if (!name)
goto out;