diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-11-28 05:26:09 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-11-29 03:47:30 +0100 |
commit | c121c57a45ec048d1f3c70b20727fcf400237058 (patch) | |
tree | 9609017296a75d06935fa54e67676ccd80ef4bd7 /drivers/scsi/aacraid/linit.c | |
parent | scsi: aacraid: Mark expected switch fall-throughs (diff) | |
download | linux-c121c57a45ec048d1f3c70b20727fcf400237058.tar.xz linux-c121c57a45ec048d1f3c70b20727fcf400237058.zip |
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>
Diffstat (limited to 'drivers/scsi/aacraid/linit.c')
-rw-r--r-- | drivers/scsi/aacraid/linit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index 2d4e4ddc5ace..42defee90eb2 100644 --- a/drivers/scsi/aacraid/linit.c +++ b/drivers/scsi/aacraid/linit.c @@ -759,6 +759,7 @@ static int aac_eh_abort(struct scsi_cmnd* cmd) !(aac->raw_io_64) || ((cmd->cmnd[1] & 0x1f) != SAI_READ_CAPACITY_16)) break; + /* fall through */ case INQUIRY: case READ_CAPACITY: /* |