From: Bart Van Assche Date: Fri, 25 Aug 2017 20:46:39 +0000 (-0700) Subject: scsi: libsas: Annotate fall-through in a switch statement X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e656f0d07aeb68b120a0033dbd1ac2d48da65a41;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git scsi: libsas: Annotate fall-through in a switch statement Signed-off-by: Bart Van Assche Reviewed-by: Christoph Hellwig Reviewed-by: Hannes Reinecke Cc: Johannes Thumshirn Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/libsas/sas_ata.c b/drivers/scsi/libsas/sas_ata.c index 87f5e694dbed..70be4425ae0b 100644 --- a/drivers/scsi/libsas/sas_ata.c +++ b/drivers/scsi/libsas/sas_ata.c @@ -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; }