mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
scsi: esas2r: esas2r_init: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Acked-by: Bradley Grove <bgrove@atto.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
211d62a8ce
commit
b9f57f5805
1 changed files with 2 additions and 1 deletions
|
@ -1241,6 +1241,7 @@ static bool esas2r_format_init_msg(struct esas2r_adapter *a,
|
|||
a->init_msg = ESAS2R_INIT_MSG_GET_INIT;
|
||||
break;
|
||||
}
|
||||
/* fall through */
|
||||
|
||||
case ESAS2R_INIT_MSG_GET_INIT:
|
||||
if (msg == ESAS2R_INIT_MSG_GET_INIT) {
|
||||
|
|
Loading…
Reference in a new issue