Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp716830imu; Tue, 27 Nov 2018 20:58:36 -0800 (PST) X-Google-Smtp-Source: AFSGD/UDtSyceS0hvJs2i9BVX20cuxWSkcwq9ilen9CklVE+jMyMmqEOCFCQSXK7XO2tReWf26T+ X-Received: by 2002:a63:cb4a:: with SMTP id m10mr30704275pgi.105.1543381116525; Tue, 27 Nov 2018 20:58:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543381116; cv=none; d=google.com; s=arc-20160816; b=bdPvfdts0n5aVC6DXtX0yPjN5jMWvEWPf2sHge5dqfQoFv466KrBChHzcJnMpzP5ls +388IwMGeRD7G9I9BkGqJwhSHygF7x3QfP9fachTNFW74h5TchMk9wTZFLKusYUX0bru bwfVNoZFYwBcHF/UybR3htSDUQw1gz0G24TqY4SEK9iwaiPekDig86B+2v2Ztce/kjWu LhfRhR2RR61o8tbPoYANWrkDiKxXQ6Fc0DIyeemLRlvwQfTOnFNkQcx/MZLLlauVbZMJ /WOLnxRNvWsImcmYEXyAw000Eos/4lAdZ+Y7G+2EWKIr5a5NZkDPsNUGbiva2qnuvKdU XyAg== 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=978owDGdUDUBlWtoypOwvmgdvmfYRN8ACWB8tdm00gs=; b=EQ95XQ9G2decs10Ti9qEOdGMCvHvyZkQupesg9CXd6xazZnlDfqtHQ+49t7rckbl9i 8dCS2vTsfIkYhseBgCcbrK+ZYTe/i7bTnMUJ2fpg9ZhFQJ+bdMRzdzK9Emf3skHIJduc Gqd1KkyfenG/kkpSjz4nZ89g4vxCoBpgQk5YRja+5Ptkr0wBnoM22exRbQ0UCW7JZ4Pk wiWouPfzBpcW0NRIoe50vsfoB+UtGbNdy8s+m72isu/JTFmnJb+KaDzyYP37Q2iksXQu pmOz7vNSjJA5BNQbHiO5r5URt7WSpYo/+lrzQQLMwvlGNbHGnjEj+rS45iMDgPjoxjyj sO/g== 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 w75si3112759pfd.55.2018.11.27.20.58.21; Tue, 27 Nov 2018 20:58:36 -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 S1727394AbeK1P4S (ORCPT + 99 others); Wed, 28 Nov 2018 10:56:18 -0500 Received: from gateway32.websitewelcome.com ([192.185.145.111]:32969 "EHLO gateway32.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727107AbeK1P4S (ORCPT ); Wed, 28 Nov 2018 10:56:18 -0500 Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway32.websitewelcome.com (Postfix) with ESMTP id 43B7B2F33E7 for ; Tue, 27 Nov 2018 22:32:30 -0600 (CST) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id RrWYggWVykBj6RrWYgctJ5; Tue, 27 Nov 2018 22:32:30 -0600 X-Authority-Reason: nr=8 Received: from [189.250.78.127] (port=58358 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.91) (envelope-from ) id 1gRrWX-001p79-J6; Tue, 27 Nov 2018 22:32:29 -0600 Date: Tue, 27 Nov 2018 22:32:27 -0600 From: "Gustavo A. R. Silva" To: Kashyap Desai , Sumit Saxena , Shivasharan S , megaraidlinux.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 29/41] scsi: megaraid: megaraid_sas_base: Mark expected switch fall-through Message-ID: <073efb316d0acba28e6105fcd4f4d5deda2ff3f7.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: 1gRrWX-001p79-J6 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [189.250.78.127]:58358 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 209 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. Signed-off-by: Gustavo A. R. Silva --- drivers/scsi/megaraid/megaraid_sas_base.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c index b7d3fc6fb118..9db7aebc3564 100644 --- a/drivers/scsi/megaraid/megaraid_sas_base.c +++ b/drivers/scsi/megaraid/megaraid_sas_base.c @@ -3281,6 +3281,7 @@ megasas_complete_cmd(struct megasas_instance *instance, struct megasas_cmd *cmd, megasas_complete_int_cmd(instance, cmd); break; } + /* fall through */ case MFI_CMD_LD_READ: case MFI_CMD_LD_WRITE: -- 2.17.1