mirror of https://gitee.com/openkylin/linux.git
scsi: be2iscsi: be_main: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 1357387
("Missing break in switch")
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
This commit is contained in:
parent
6a29edc41e
commit
a8308767c1
|
@ -1532,6 +1532,7 @@ beiscsi_hdl_get_handle(struct beiscsi_conn *beiscsi_conn,
|
|||
break;
|
||||
case UNSOL_DATA_DIGEST_ERROR_NOTIFY:
|
||||
error = 1;
|
||||
/* fall through */
|
||||
case UNSOL_DATA_NOTIFY:
|
||||
pasync_handle = pasync_ctx->async_entry[ci].data;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue