Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5260072imu; Wed, 19 Dec 2018 08:10:18 -0800 (PST) X-Google-Smtp-Source: AFSGD/VHUrR0b1Vo2knJCNWqLOyVdyx4cwryDWFBXEduMXLjOA2LsjUQyROZqRLQ0ykdFMnyif2H X-Received: by 2002:a63:4706:: with SMTP id u6mr18848547pga.95.1545235818464; Wed, 19 Dec 2018 08:10:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545235818; cv=none; d=google.com; s=arc-20160816; b=tkacJekMQjDG/pHQV1oa54Lah4MrOAVrDCb3q2h9PvZtMM5JdjnbNEbBFFx2DcNsdq PS11sKJAwAoCzwBWnaKQd6WEEH8P2MFuwzUMuV9dNhP7o4DcDCfzVuqLgZruGiT/9QqN rMAQLyBoLnNXenuX3V2ovaFlPWgXRpk5IBoxusYUoCGeeucB1Xk2wP+cxbpwBOpz9cUM v/8lj1DCEXO9dIopQ2EwuVDA7Us48FAYxmSaokvKj1f/NqFuLK+xi4sSCfFXaBbf9Gbp 6adi/fq1Aj+mapsSPZTmNN627fHYmCsV9dbdw4AyckqqGdhEagxUGKSyv/kpac86oDwZ +Uyg== 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=kXrAZYALLPjPoBiQEigpWeuQpE2DM1zUFE+QfUZ/f1M=; b=KaOUw9TtlN6z4rzolZ77yU3yXx/T3wKwWSwwH8PxSvFRpoErjd0cgKpLq+Vj8Pthhd KdruYXaBN42teUwZ9G9nRz4Pb3GUOw7G/oHZWhuUYI7LVseHo7NZ09X3muDG1qaEW8H1 ubzplRyKdZwldB10kJfyJimw3ogm5DcZue6Hjp2tmie5N/6Xiwz3tzfcmh6dzqWQIeSP q6g54yYe1yJE7WqDKWVhU0R/HOiafOeitpw9z0JA6qO5anL5OMJpwfaOF6yElLV8i1LT UM8O+ucMX8B+2uurk4JnN/YROz/HE9m1UXJDHoArMcukHvJ7YgnVHXu9l4ijAS2plv7X y1Kg== 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 m15si16192067pgc.381.2018.12.19.08.10.02; Wed, 19 Dec 2018 08:10:18 -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 S1730286AbeLSPjK (ORCPT + 99 others); Wed, 19 Dec 2018 10:39:10 -0500 Received: from gateway32.websitewelcome.com ([192.185.145.102]:47073 "EHLO gateway32.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728040AbeLSPjK (ORCPT ); Wed, 19 Dec 2018 10:39:10 -0500 Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway32.websitewelcome.com (Postfix) with ESMTP id DFECE18C3C3 for ; Wed, 19 Dec 2018 09:39:09 -0600 (CST) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id ZdwDgZhws2qH7ZdwDgIWea; Wed, 19 Dec 2018 09:39:09 -0600 X-Authority-Reason: nr=8 Received: from [189.250.106.44] (port=35318 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 1gZdwD-000h8S-Gh; Wed, 19 Dec 2018 09:39:09 -0600 Subject: Re: [PATCH 10/41] scsi: bfa: bfa_fcs_lport: Mark expected switch fall-throughs To: Anil Gurumurthy , Sudarsana Kalluru Cc: "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org References: <5cc329185c0b92f3aad001fc1afa54996a2c1112.1543374820.git.gustavo@embeddedor.com> From: "Gustavo A. R. Silva" Message-ID: Date: Wed, 19 Dec 2018 09:39:08 -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: <5cc329185c0b92f3aad001fc1afa54996a2c1112.1543374820.git.gustavo@embeddedor.com> 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: 1gZdwD-000h8S-Gh X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([192.168.1.76]) [189.250.106.44]:35318 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 43 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:27 PM, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Notice that, in this particular case, I replaced "!!! fall through !!!" > with a "fall through" annotation, which is what GCC is expecting to > find. > > Signed-off-by: Gustavo A. R. Silva > --- > drivers/scsi/bfa/bfa_fcs_lport.c | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) > > diff --git a/drivers/scsi/bfa/bfa_fcs_lport.c b/drivers/scsi/bfa/bfa_fcs_lport.c > index b4f2c1d8742e..646f09f66443 100644 > --- a/drivers/scsi/bfa/bfa_fcs_lport.c > +++ b/drivers/scsi/bfa/bfa_fcs_lport.c > @@ -6430,9 +6430,7 @@ bfa_fcs_vport_sm_logo_for_stop(struct bfa_fcs_vport_s *vport, > switch (event) { > case BFA_FCS_VPORT_SM_OFFLINE: > bfa_sm_send_event(vport->lps, BFA_LPS_SM_OFFLINE); > - /* > - * !!! fall through !!! > - */ > + /* fall through */ > > case BFA_FCS_VPORT_SM_RSP_OK: > case BFA_FCS_VPORT_SM_RSP_ERROR: > @@ -6458,9 +6456,7 @@ bfa_fcs_vport_sm_logo(struct bfa_fcs_vport_s *vport, > switch (event) { > case BFA_FCS_VPORT_SM_OFFLINE: > bfa_sm_send_event(vport->lps, BFA_LPS_SM_OFFLINE); > - /* > - * !!! fall through !!! > - */ > + /* fall through */ > > case BFA_FCS_VPORT_SM_RSP_OK: > case BFA_FCS_VPORT_SM_RSP_ERROR: >