]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: lustre: lnet: selftest: mark expected switch fall-through
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Thu, 12 Oct 2017 16:17:12 +0000 (11:17 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Oct 2017 13:33:10 +0000 (15:33 +0200)
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>
drivers/staging/lustre/lnet/selftest/conctl.c

index 9619ecbf8bdf4b5d30f09b62d9364e9a19e4437d..551e921a8f78adff101859494c52bb2b315185dc 100644 (file)
@@ -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;