scsi: libsas: Annotate fall-through in a switch statement
authorBart Van Assche <bart.vanassche@wdc.com>
Fri, 25 Aug 2017 20:46:39 +0000 (13:46 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 21:08:08 +0000 (17:08 -0400)
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libsas/sas_ata.c

index 87f5e694dbedd8a7eda74c1a5dccd0e9008e8c93..70be4425ae0be495c0d08d3408a20c3c7d90d6a7 100644 (file)
@@ -343,6 +343,7 @@ static int smp_ata_check_ready(struct ata_link *link)
        case SAS_END_DEVICE:
                if (ex_phy->attached_sata_dev)
                        return sas_ata_clear_pending(dev, ex_phy);
+               /* fall through */
        default:
                return -ENODEV;
        }