Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp218354imu; Wed, 19 Dec 2018 17:06:06 -0800 (PST) X-Google-Smtp-Source: AFSGD/VbXM0+SyRbxAqCEyUrH19YrJjY6MPO2IM4SWhN0F3vi463kQD5aeAmV5WdR7Rbhx8rb3c3 X-Received: by 2002:a17:902:1122:: with SMTP id d31mr22157854pla.246.1545267966523; Wed, 19 Dec 2018 17:06:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545267966; cv=none; d=google.com; s=arc-20160816; b=0DpWH6UD/To8VF0G386OlDny+XplZLurQ/BNCKohaRq1x47LBCv3IH1EM37u5+ohXk AsnKb+N8zmrpbH5UK1aNNf/419KCXGn8YjtXSqIRVITMva2GbJy+JThnOXDRKnewMxKH r2S6H8QLWFx7LjQF+WeosSvvpYPx+FK1JCXpGML0tzz5HEWZ280r31QnRH21h/oIrRgC atZmGd0qaA2RUVYrFrByyqglErPp5cciosR60/YebHiAN/jb47t4Q8ccNriBV44Anf7V j/MeugAPgfB6Ub/68tYCWfYPGimCk0Ch65LGAG6YbvvFDS4dsDDpDiUEKhebSRolZ8Ui vHZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=wzaVEWve9tdoEq0YPidiga86h+aYDsvJRKVhQsY7KLY=; b=AgcHJ53ePq+BoSTkyv0FsEBp7cZAnftNKfnRLcOGgn6eEqUVwAG5so6GOpIjVJVayk LxvY0TkznIsW87wdInybS7jhCfFrYIzzc7EqW264elmCws3BY68Jx87PdzZYKwKZ+TQ8 VULovJ/kkYoNwAoR8zMELizefea+7feP1K9C0FspWrAA40gGNxXD+7TQ+d6eYbKGDdyr /q94H3w7fdKtsswu6tTiLN6Wr/0UKpTpqVVf4tDSrkMHCfu0eU/h0feuZR/QUP0eEfx3 5BD2jtzncRMwnPRiLb+IPBUj32sSwefEDHAkL22cA9QYRtmdBcMeaXbe0CkwO0Sj4OU1 4Gpw== 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 u8si11176733plh.385.2018.12.19.17.05.50; Wed, 19 Dec 2018 17:06:06 -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 S1729296AbeLSW0a (ORCPT + 99 others); Wed, 19 Dec 2018 17:26:30 -0500 Received: from gateway33.websitewelcome.com ([192.185.145.190]:17603 "EHLO gateway33.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728247AbeLSW03 (ORCPT ); Wed, 19 Dec 2018 17:26:29 -0500 Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway33.websitewelcome.com (Postfix) with ESMTP id 7D6F91F999 for ; Wed, 19 Dec 2018 16:26:28 -0600 (CST) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id ZkIOgs8A1iQerZkIOgxauz; Wed, 19 Dec 2018 16:26:28 -0600 X-Authority-Reason: nr=8 Received: from [189.250.106.44] (port=47192 helo=[192.168.1.76]) by gator4166.hostgator.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gZkIN-000D2a-Uh; Wed, 19 Dec 2018 16:26:28 -0600 Subject: Re: [PATCH 17/41] scsi: isci: phy: Mark expected switch fall-through 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 References: From: "Gustavo A. R. Silva" Message-ID: Date: Wed, 19 Dec 2018 16:26:26 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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.106.44 X-Source-L: No X-Exim-ID: 1gZkIN-000D2a-Uh X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([192.168.1.76]) [189.250.106.44]:47192 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 10 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 Hi, Friendly ping: Who can ack or review this patch, please? Thanks -- Gustavo On 11/27/18 10:29 PM, Gustavo A. R. Silva wrote: > 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); >