From: Bart Van Assche Subject: [PATCH v2 13/17] libsas: Annotate fall-through in a switch statement Date: Fri, 25 Aug 2017 13:46:39 -0700 Message-ID: <20170825204643.25043-14-bart.vanassche@wdc.com> References: <20170825204643.25043-1-bart.vanassche@wdc.com> Return-path: Received: from esa6.hgst.iphmx.com ([216.71.154.45]:34862 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932922AbdHYUs3 (ORCPT ); Fri, 25 Aug 2017 16:48:29 -0400 In-Reply-To: <20170825204643.25043-1-bart.vanassche@wdc.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: "Martin K . Petersen" , "James E . J . Bottomley" Cc: linux-scsi@vger.kernel.org, Bart Van Assche , Johannes Thumshirn Signed-off-by: Bart Van Assche Reviewed-by: Christoph Hellwig Reviewed-by: Hannes Reinecke Cc: Johannes Thumshirn --- drivers/scsi/libsas/sas_ata.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.14.1