Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp717744imu; Tue, 27 Nov 2018 21:00:06 -0800 (PST) X-Google-Smtp-Source: AFSGD/XThqHxFBBW3rEo6Z3QkDuM2lnt7br0C332BTZMJGhPW/LFmvO79AFyUQBg9YzgxZx63fcf X-Received: by 2002:a63:7b06:: with SMTP id w6mr31778768pgc.288.1543381206435; Tue, 27 Nov 2018 21:00:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543381206; cv=none; d=google.com; s=arc-20160816; b=X95MBXi5QP2Nh5Amz58GRPUbgmX/HrVzFFH9kHe4XubOzpKQTd7J1SSwqcdtI17nm4 vGgn0pxg3Q/ZmwimYj6QFWfWm4JZQLnvSSWRRmJVNDqhltFNxH4vfxEvTOf9+xvy/niu 6aHoeBBA5SyBgx2/0khqJ3NkhyX0kKy4jA60ugTQ4jCeiWadpGHiEwBZeDKew23nuK+5 C/mTSAnjD/3zNTwb+6ZGlTgE21o5+6I6mMMineSF/BJnLAScnyUeauHcoAxNCNzrBE97 koad9MGeqzyxckyPSZy3YwV28wewh/MDcvNC7Sc74zIzqjRywJPa7eIPM609mMTi1NpQ fCCA== 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=MeXnsDXnr/sbyrA+kPZuGDo9WaDcu7bCziKALEOrxeI=; b=eagedVdw/85bSs0ZotkEcV4+9eiYxL+OoGWzF5fhSHhpIFUgrUPBPiV9hrTQv67Yqk SOrACWzSK7VfYpQxhew/CSFBm2L3ByJM2NGWh/gS7Q+ogYdzTjHQS/js5d8CoVCcDx+4 CVmODHmNmA2qqpvGnFeenLUu6S1wRuN7zwPbBJ8ePK0r1e0BQw8DbaN2KD12A6D864NV XvlUSW5NnbN+llIPezqpCxY+YaDqPbz5XTxaLpX+ErM1JZEHMNVPOFlgCm7fcZcrgmbc sLFu2l9ighj+apOlPQaj7c7wR2ybse4bkPLLMukk4bXuRKtL2fI3yQPQmZ1Ov0U1arVy BhrA== 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 a124si6662349pfb.263.2018.11.27.20.59.51; Tue, 27 Nov 2018 21:00: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 S1727323AbeK1P5G (ORCPT + 99 others); Wed, 28 Nov 2018 10:57:06 -0500 Received: from gateway22.websitewelcome.com ([192.185.47.168]:39967 "EHLO gateway22.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726894AbeK1P5G (ORCPT ); Wed, 28 Nov 2018 10:57:06 -0500 Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway22.websitewelcome.com (Postfix) with ESMTP id 66C29ABF6 for ; Tue, 27 Nov 2018 22:33:39 -0600 (CST) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id RrXfgAwa4SjJARrXfgYP7e; Tue, 27 Nov 2018 22:33:39 -0600 X-Authority-Reason: nr=8 Received: from [189.250.78.127] (port=58378 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1gRrXe-001qA3-P9; Tue, 27 Nov 2018 22:33:38 -0600 Date: Tue, 27 Nov 2018 22:33:36 -0600 From: "Gustavo A. R. Silva" To: linux-kernel@vger.kernel.org Cc: "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH 35/41] scsi: ppa: 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: 1gRrXe-001qA3-P9 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.78.127]:58378 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 242 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: 114988 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/scsi/ppa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/ppa.c b/drivers/scsi/ppa.c index ee86a0c62dbf..d29999ba5458 100644 --- a/drivers/scsi/ppa.c +++ b/drivers/scsi/ppa.c @@ -717,6 +717,7 @@ static int ppa_engine(ppa_struct *dev, struct scsi_cmnd *cmd) } cmd->SCp.phase++; } + /* fall through */ case 2: /* Phase 2 - We are now talking to the scsi bus */ if (!ppa_select(dev, scmd_id(cmd))) { -- 2.17.1