staging: lustre: lnet: socklnd: 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:
parent
c9a934b069
commit
96aff92b31
|
@ -2308,7 +2308,7 @@ ksocknal_base_shutdown(void)
|
|||
switch (ksocknal_data.ksnd_init) {
|
||||
default:
|
||||
LASSERT(0);
|
||||
|
||||
/* fall through */
|
||||
case SOCKNAL_INIT_ALL:
|
||||
case SOCKNAL_INIT_DATA:
|
||||
LASSERT(ksocknal_data.ksnd_peers);
|
||||
|
|
Loading…
Reference in New Issue