Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp733261imu; Tue, 27 Nov 2018 21:20:59 -0800 (PST) X-Google-Smtp-Source: AFSGD/WxHbVctdoTO2IybwEDG44S3583gGd14Ipqsq4X1yPMRPv2BQtggBVCYpmvRcS7augnyhv1 X-Received: by 2002:a63:4f5e:: with SMTP id p30mr31883919pgl.71.1543382458943; Tue, 27 Nov 2018 21:20:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543382458; cv=none; d=google.com; s=arc-20160816; b=ugtpjmdDWGCicG5yFn6EHd6pECSsmtrGCwrjCMIWlGAXzOpCH8Eix3z7Wj05Y4iiEk +vIwJh9Dp6gSvNE1NJbZvknTzsEWztlD7WwGgII5E/6Ehn0YAiLI22FxlwkQSTM8FDjw ex3vz4v2GXqb7KSXs/B7Z9kIHp7lvp7h/OCfC+F4vprZ7QlBRR19OR/eseQ0nRBz/5af RzKEwtm6L6cQ9DvSJEOYxNer/G0F9pko7cyWgtS+eJI6t1uPNNccIuMw+bLutF3pjVz3 TYvHuVStHTYw4bxYohsXFHQ27Ib6STXZNiLE8KMz/Z/ge+aOtkp3DsTh3FF2zOFVy2dS vvDQ== 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=gGW3zFKVmlsIBZDgNS/Hyehz8EuG7wDeQtekDDfD/vE=; b=IFbi9LwdlX6pRQOdbgjKtQpywJl9GWTW2ptO1Rl98QPVPRzcnb0ISb3dce9t3i6lr8 FfrtfICLxvXOqlYBJIbKaH0xkIOrVNGAkcUs9D3s3UoFn9vFgXIqeUAT50C1fnE+4Mnc 7PZ7D5DJbN1I/k4cGN00zcKYzFNs+B6MNOLpjuFlaKwYIwOWqjeRCO1S9XcjU45SM4Fh upwVUGdjN3YKp0ks5CEwakQT3GA53ihlQTU3ynLhAfiFkqzBvNzpsXoGqXG2n5idMHSk zqYBwuQJEFGJ0KW9kjVaQimglAHctcsaolVl15WKD0qAMMiaiWgYCD2VtIbJWHSChxWT wj3w== 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 u34si5734229pgk.24.2018.11.27.21.20.44; Tue, 27 Nov 2018 21:20:58 -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 S1727270AbeK1QTz (ORCPT + 99 others); Wed, 28 Nov 2018 11:19:55 -0500 Received: from gateway36.websitewelcome.com ([192.185.197.22]:47196 "EHLO gateway36.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726894AbeK1QTz (ORCPT ); Wed, 28 Nov 2018 11:19:55 -0500 X-Greylist: delayed 1412 seconds by postgrey-1.27 at vger.kernel.org; Wed, 28 Nov 2018 11:19:55 EST Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway36.websitewelcome.com (Postfix) with ESMTP id EBB25400CB188 for ; Tue, 27 Nov 2018 21:42:16 -0600 (CST) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id RrWmggWfBkBj6RrWmgctSA; Tue, 27 Nov 2018 22:32:44 -0600 X-Authority-Reason: nr=8 Received: from [189.250.78.127] (port=58364 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1gRrWl-001pJ0-3O; Tue, 27 Nov 2018 22:32:43 -0600 Date: Tue, 27 Nov 2018 22:32:42 -0600 From: "Gustavo A. R. Silva" To: Sathya Prakash , Chaitra P B , Suganath Prabu Subramani , MPT-FusionLinux.pdl@broadcom.com Cc: "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH 31/41] scsi: mpt3sas: mpt3sas_scsih: Mark expected switch fall-through Message-ID: <892c3e5e27213c1c2f3da128afe958429bbef672.1543374820.git.gustavo@embeddedor.com> 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: 1gRrWl-001pJ0-3O X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.78.127]:58364 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 225 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: 1475400 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/mpt3sas/mpt3sas_scsih.c b/drivers/scsi/mpt3sas/mpt3sas_scsih.c index 5b9806d0719e..920b80ce4748 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_scsih.c +++ b/drivers/scsi/mpt3sas/mpt3sas_scsih.c @@ -10370,6 +10370,7 @@ _scsih_probe(struct pci_dev *pdev, const struct pci_device_id *id) case MPI26_MFGPAGE_DEVID_CFG_SEC_3916: dev_info(&pdev->dev, "HBA is in Configurable Secure mode\n"); + /* fall through */ case MPI26_MFGPAGE_DEVID_SAS3508: case MPI26_MFGPAGE_DEVID_SAS3508_1: case MPI26_MFGPAGE_DEVID_SAS3408: -- 2.17.1