summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-11-28 05:26:09 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2018-11-29 03:47:30 +0100
commitc121c57a45ec048d1f3c70b20727fcf400237058 (patch)
tree9609017296a75d06935fa54e67676ccd80ef4bd7 /drivers/scsi/aacraid
parentscsi: aacraid: Mark expected switch fall-throughs (diff)
downloadlinux-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')
-rw-r--r--drivers/scsi/aacraid/linit.c1
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:
/*