Skip to content

Commit 8d07f7d

Browse files
GustavoARSilvamartinkpetersen
authored andcommitted
scsi: megaraid: megaraid_sas_base: Mark expected switch fall-through
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: Sumit Saxena <sumit.saxena@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 76df1da commit 8d07f7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/scsi/megaraid/megaraid_sas_base.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3281,6 +3281,7 @@ megasas_complete_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd,
32813281
megasas_complete_int_cmd(instance, cmd);
32823282
break;
32833283
}
3284+
/* fall through */
32843285

32853286
case MFI_CMD_LD_READ:
32863287
case MFI_CMD_LD_WRITE:

0 commit comments

Comments
 (0)