Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5354773imu; Wed, 19 Dec 2018 09:39:23 -0800 (PST) X-Google-Smtp-Source: AFSGD/VuspAdC7aS5w6WrrpRP4sfcySSxN3ayyzz4h3rrzKZPwKIQVOomgFYCskNgLhg/0fG+BBJ X-Received: by 2002:a17:902:b18b:: with SMTP id s11mr21029699plr.56.1545241163420; Wed, 19 Dec 2018 09:39:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545241163; cv=none; d=google.com; s=arc-20160816; b=ycjDBp05iO+/V1SIIvRb7DrbJyAnC6yPlWyca7fXhHH0YxQIf1AfPuno/eYsH6PiG1 NJraRm5+7grv8mXheBNJrT4FtZyirCvmORxamyo8l9RNw0paYwcXQcA927f6mpW65J09 sj+pAejgkf8wVXgcccsoUL82dIk6jbLoTm8a7/CRBmdc8TVF89OO8IkMxQq5uM00v6mb Nzb21w5YY5JC2AwdmvCs7zlr1ttuqE2PGNrYmYzroGJW98cSAIJsi2rXdluDlOwPY7Bj AjBDzr8sSrCrckVOacp9lyOPT3BhYs9izFQr6BBU+isKXBIs2X+qzYXjY1oQE3JlpXe/ z6hQ== 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=iDbYdEmHppWMre6BYKopSaaFItkTIZCtzNnxnzY6Tss=; b=J7RT9kxZZf0oYHmBJ/fTwkYSkGmfX7VyIWfkbuXP/vzH8xSqOMO3Fqx2PcvSkSLSs/ 94yg0I2Z9Zu7y9W5yDSCEVJUBH2GTihGZA/5TLeUih+UiX4ad52WgoBKxpmi5j292VCQ 7UkW858EMCQAkC8HNhwqyuMI/MnGsb6RevVrsFpSDpTj4vVlRfshL65x68Fk5dP6NqH0 NdNIP+5Vu+Sg0Rd8SpkPDnMGPac+lvDxH3b4MgOY2X3DfNRCdxU8vAyKNrV6hh0P6bvL KrBabOJJVSeHoT7PhAORs6uY7dCs8UYPrDRiQxUM5YHag/JpE5h1lYysWE5JFwULvCUp Zh8g== 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 4si2243448pff.161.2018.12.19.09.39.07; Wed, 19 Dec 2018 09:39: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 S1730345AbeLSPjy (ORCPT + 99 others); Wed, 19 Dec 2018 10:39:54 -0500 Received: from gateway24.websitewelcome.com ([192.185.50.252]:14599 "EHLO gateway24.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728249AbeLSPjx (ORCPT ); Wed, 19 Dec 2018 10:39:53 -0500 Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway24.websitewelcome.com (Postfix) with ESMTP id 4DE3A59B62 for ; Wed, 19 Dec 2018 09:39:53 -0600 (CST) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id ZdwvgqwEgdnCeZdwvg0oBt; Wed, 19 Dec 2018 09:39:53 -0600 X-Authority-Reason: nr=8 Received: from [189.250.106.44] (port=35334 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 1gZdwu-000hjo-RF; Wed, 19 Dec 2018 09:39:52 -0600 Subject: Re: [PATCH 14/41] scsi: esas2r: esas2r_init: mark expected switch fall-throughs To: Bradley Grove 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 09:39:51 -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: 1gZdwu-000hjo-RF X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([192.168.1.76]) [189.250.106.44]:35334 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 64 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:28 PM, Gustavo A. R. Silva wrote: > 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/esas2r/esas2r_init.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/scsi/esas2r/esas2r_init.c b/drivers/scsi/esas2r/esas2r_init.c > index 46b2c83ba21f..950cd92df2ff 100644 > --- a/drivers/scsi/esas2r/esas2r_init.c > +++ b/drivers/scsi/esas2r/esas2r_init.c > @@ -1241,6 +1241,7 @@ static bool esas2r_format_init_msg(struct esas2r_adapter *a, > a->init_msg = ESAS2R_INIT_MSG_GET_INIT; > break; > } > + /* fall through */ > > case ESAS2R_INIT_MSG_GET_INIT: > if (msg == ESAS2R_INIT_MSG_GET_INIT) { > @@ -1254,7 +1255,7 @@ static bool esas2r_format_init_msg(struct esas2r_adapter *a, > esas2r_hdebug("FAILED"); > } > } > - /* fall through */ > + /* fall through */ > > default: > rq->req_stat = RS_SUCCESS; >