mirror of https://gitee.com/openkylin/linux.git
scsi: be2iscsi: be_iscsi: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
This commit is contained in:
parent
e2e801644e
commit
6a29edc41e
|
@ -679,6 +679,7 @@ int beiscsi_set_param(struct iscsi_cls_conn *cls_conn,
|
|||
case ISCSI_PARAM_MAX_XMIT_DLENGTH:
|
||||
if (conn->max_xmit_dlength > 65536)
|
||||
conn->max_xmit_dlength = 65536;
|
||||
/* fall through */
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue