mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 00:20:32 +00: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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue