mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 12:43:55 +08:00
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;
|
break;
|
||||||
case UNSOL_DATA_DIGEST_ERROR_NOTIFY:
|
case UNSOL_DATA_DIGEST_ERROR_NOTIFY:
|
||||||
error = 1;
|
error = 1;
|
||||||
|
/* fall through */
|
||||||
case UNSOL_DATA_NOTIFY:
|
case UNSOL_DATA_NOTIFY:
|
||||||
pasync_handle = pasync_ctx->async_entry[ci].data;
|
pasync_handle = pasync_ctx->async_entry[ci].data;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user