Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp714363imu; Tue, 27 Nov 2018 20:54:24 -0800 (PST) X-Google-Smtp-Source: AFSGD/Usf7p1Jr+s1WYF7X9alnT6N6p73wevDAW6dWSW1XGL38UjNMjF6ykYyqf1I8HqmeN60JFe X-Received: by 2002:a17:902:9a41:: with SMTP id x1mr1549150plv.126.1543380864022; Tue, 27 Nov 2018 20:54:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543380863; cv=none; d=google.com; s=arc-20160816; b=nkARxhp+7N8PoPteaVBanN2PoLqgsd2kUXDs0/BQtnozp8oMpNhXA8SrbuHIxN09AR 1vwQ1v9GQs95bHtov9BbT5OR9jMFZR1M+YnRmdmqOvfvPGlO92erBDZ83/g+fQ6Ebf5d DXEYlf6Zkt7s/uatHBgKHeeTcJYr/5WXLG7+Zkps/JwVj26c7kqFG/Qmf8ZB8NZADYU5 xpq7hSP1XTk3VlidH6Cn30HAmjpG0T4NDoXZjpjHfp7FkbQxewcLv2JTtUeHSmzVvHi8 PuTz1V9x4trbRWsGSirnbAMvf5wih1iwteFrbZPDViwtj5Tb7qemhXnkYgV7fs14xcwD AUNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ece02Exwr4zgxJn2yPubvHe4AHL0PrAaLRf89AXwaso=; b=0xQ8tY39eUoe6SPN8eiiMzaUDjHZ/4BJCCPcYTXSmUwstfh4a6CzDRSCL2AdhTAHO/ tt5OVQNapnZezx7Wj9z2qXXGlvjXeNejbyG1RkoGLaiCDMymg9yVqEOLkOZBATmIGJ1W DlmG0kHWLSVQC6yLExbtT+ZFqZtbxT8dqtRrJAiBc9kjg4jRhaMSFWEe/xoqg+t/nHGs X8bpMnCZPIFaZqMN75nyRYTCrcGKA6johG9WmdhvmvX7YO3cfYW+GOg+8UUtO6SE9T7L Yb3ralL06wWPBl0N9F2HCeDdeXqHnJCs55Aecu2Cir32Sz3XwZPOOYArXq4lGFdS6eC2 5EZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k35si5318650pgm.225.2018.11.27.20.54.08; Tue, 27 Nov 2018 20:54:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727323AbeK1Pxm (ORCPT + 99 others); Wed, 28 Nov 2018 10:53:42 -0500 Received: from gateway33.websitewelcome.com ([192.185.145.87]:24404 "EHLO gateway33.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726894AbeK1Pxm (ORCPT ); Wed, 28 Nov 2018 10:53:42 -0500 Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway33.websitewelcome.com (Postfix) with ESMTP id 775DF1F601 for ; Tue, 27 Nov 2018 22:29:57 -0600 (CST) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id RrU5gvzgcRPojRrU5g4dkg; Tue, 27 Nov 2018 22:29:57 -0600 X-Authority-Reason: nr=8 Received: from [189.250.78.127] (port=58304 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1gRrU4-001mSG-EF; Tue, 27 Nov 2018 22:29:56 -0600 Date: Tue, 27 Nov 2018 22:29:55 -0600 From: "Gustavo A. R. Silva" To: Intel SCU Linux support , Artur Paszkiewicz Cc: "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH 17/41] scsi: isci: phy: Mark expected switch fall-through Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 189.250.78.127 X-Source-L: No X-Exim-ID: 1gRrU4-001mSG-EF X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.78.127]:58304 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 136 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 703127 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/scsi/isci/phy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/isci/phy.c b/drivers/scsi/isci/phy.c index 1deca8c5a94f..7f9b3f20e5e4 100644 --- a/drivers/scsi/isci/phy.c +++ b/drivers/scsi/isci/phy.c @@ -778,6 +778,7 @@ enum sci_status sci_phy_event_handler(struct isci_phy *iphy, u32 event_code) break; case SCU_EVENT_LINK_FAILURE: scu_link_layer_set_txcomsas_timeout(iphy, SCU_SAS_LINK_LAYER_TXCOMSAS_NEGTIME_DEFAULT); + /* fall through */ case SCU_EVENT_HARD_RESET_RECEIVED: /* Start the oob/sn state machine over again */ sci_change_state(&iphy->sm, SCI_PHY_STARTING); -- 2.17.1