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>
This commit is contained in:
Gustavo A. R. Silva 2017-10-12 11:17:12 -05:00 committed by Greg Kroah-Hartman
parent 503764ec26
commit 7a6d76a9b4

View File

@ -151,6 +151,7 @@ lst_debug_ioctl(struct lstio_debug_args *args)
case LST_OPC_BATCHSRV: case LST_OPC_BATCHSRV:
client = 0; client = 0;
/* fall through */
case LST_OPC_BATCHCLI: case LST_OPC_BATCHCLI:
if (!name) if (!name)
goto out; goto out;