Skip to content

Commit c121c57

Browse files
GustavoARSilvamartinkpetersen
authored andcommitted
scsi: aacraid: 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> Reviewed-by: Dave Carroll <david.carroll@microsemi.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 8d4d5b3 commit c121c57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/scsi/aacraid/linit.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,7 @@ static int aac_eh_abort(struct scsi_cmnd* cmd)
759759
!(aac->raw_io_64) ||
760760
((cmd->cmnd[1] & 0x1f) != SAI_READ_CAPACITY_16))
761761
break;
762+
/* fall through */
762763
case INQUIRY:
763764
case READ_CAPACITY:
764765
/*

0 commit comments

Comments
 (0)