Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3044911pxa; Tue, 25 Aug 2020 09:57:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJDaxj8g+kkmfHJAqLDUKf/gRUSWo8p42Fuf76BqzJOCbN5ef6xL629LSRLNekGqczW5H0 X-Received: by 2002:a17:906:a141:: with SMTP id bu1mr11431720ejb.303.1598374626037; Tue, 25 Aug 2020 09:57:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598374626; cv=none; d=google.com; s=arc-20160816; b=tBSDJwdpbghmzJWvoRHYHDQ21BGDPdMXOqtfe0LejsqeDN702onya4IDcGYGOgHqUH NXXFVvbwWZ6MrNhw7snGGDBRoOEieXtrFO2iDhvxPo4kFI2ACdv8VCFv79OeZEcaCY76 Ss5IhyFRpz+Cuef2JGuJiEU16QJJswzbziTfvOhfRzaioUIGXb191d0w9KB6rXiGt1p8 Dq1IcW+64RZb1QL5QAFZ7PNLsPNBax7tJbjCd1dgpr2ZZwGFeipyTw+PKn2xZCqilnlO CB5u0QtMiuEppopkASM1k0yPfa75VuiEFKFxmGf8Rk03ErfCrT5YaiT1ngcPrL8jZCWP fLBQ== 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:autocrypt:from:references:cc:to:subject:dkim-signature; bh=PwMvq76VkVm+YFP4hRF2ZHZjf29hDPQQHuAOuOwY1Mc=; b=uEWDshXFy9VcVpwMqs2rLqFgdsRiAMybGe9hetvjrsgcyELhakGC7NUj3O6lShSD7N 0BHiqR+OWJGVfrTybA/KIFzYQfAuINPnKIwmxkEKu+r9jK1M8KDudw8xP+c3JHtsfdca Ww3/DJhnNhu6B6AqtOrmABbXGOkkdsijvAjLtEPe9E2gXaFnBZalnSwimOR0bUU6cgrK wZbCyWbMCIumT/+sx/SL7klbAuir6351huMNsGM9t2gF0SGhegSLuzA1+LZwi+87fzO5 BiSmm7PB/nKuSudDRbRKI5kIgLLBF+mkXXJSJ7jvfrf+vQsNwR0HSnpr4hjVIQD8uCVW UAGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b=paFBZrWc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cz6si10670982edb.350.2020.08.25.09.56.42; Tue, 25 Aug 2020 09:57:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b=paFBZrWc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726356AbgHYQ4B (ORCPT + 99 others); Tue, 25 Aug 2020 12:56:01 -0400 Received: from gateway31.websitewelcome.com ([192.185.144.97]:37272 "EHLO gateway31.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726104AbgHYQz7 (ORCPT ); Tue, 25 Aug 2020 12:55:59 -0400 Received: from cm13.websitewelcome.com (cm13.websitewelcome.com [100.42.49.6]) by gateway31.websitewelcome.com (Postfix) with ESMTP id 5C1AE10CF2F for ; Tue, 25 Aug 2020 11:55:56 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id AcEmk2amAXp2AAcEmkISIv; Tue, 25 Aug 2020 11:55:56 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=embeddedor.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=PwMvq76VkVm+YFP4hRF2ZHZjf29hDPQQHuAOuOwY1Mc=; b=paFBZrWcJPpGO94QN+GaDCX5Bl bSUVHJOtIOPwV6d+7LoFOHXu/PbcWArFGHII8TDRl6zWoI31X589d7CiRzc8IWRLVoP+6OPUlW1XJ bsUQKw3icHR9ARTClytXZ/3JtBRc6/NSzhYsgjAeaqBZrLu97CszbwsEL5lO0g8yHg21f2AJZiTYp 6hfXoAHoHWnr0ZZXDfoI55x/23uh4NfDXtm86wSu6lN3saVCLpTCPDiKW6onO3ig35XzDZNxtQ5h9 fLn68qkVy9WdZ8teSae4dd8+JyKFWW3XOqGEwyrTqUpqJxLAoAUy+uDDhrluER6j9ttYN5cQcXu3w OcqRuGog==; Received: from 187-162-31-110.static.axtel.net ([187.162.31.110]:58848 helo=[192.168.15.8]) by gator4166.hostgator.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1kAcEl-0012jd-Uk; Tue, 25 Aug 2020 11:55:55 -0500 Subject: Re: [PATCH] IB/qib: remove superfluous fallthrough statements To: Joe Perches , Alex Dewar Cc: Dennis Dalessandro , Mike Marciniszyn , Doug Ledford , Jason Gunthorpe , Roland Dreier , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200825155142.349651-1-alex.dewar90@gmail.com> <4877c3a5-365e-4500-43c0-4a4361e2cda3@embeddedor.com> <086ee29ef75f657dcf45e92d4ebfdf2b3f4fcab8.camel@perches.com> <777e01f8dc9bd35e8b7bdf1b5181d0d13b86d8b9.camel@perches.com> From: "Gustavo A. R. Silva" Autocrypt: addr=gustavo@embeddedor.com; keydata= xsFNBFssHAwBE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sSdBLGH3hbvLvjZm3C+fNlVb9uvWbdznObqcJxSH3SGOZ7kCHuVmXUcqozol6ioMHMb+In rHPP16aVDTBTPEGwgxXI38f7SUEn+NpbizWdLNz2hc907DvoPm6HEGCanpcAEQEAAcLBZQQY AQgADwUCWywcDAIbDAUJCWYBgAAKCRBHBbTLRwbbMdsZEACUjmsJx2CAY+QSUMebQRFjKavw XB/xE7fTt2ahuhHT8qQ/lWuRQedg4baInw9nhoPE+VenOzhGeGlsJ0Ys52sdXvUjUocKgUQq 6ekOHbcw919nO5L9J2ejMf/VC/quN3r3xijgRtmuuwZjmmi8ct24TpGeoBK4WrZGh/1hAYw4 ieARvKvgjXRstcEqM5thUNkOOIheud/VpY+48QcccPKbngy//zNJWKbRbeVnimua0OpqRXhC rEVm/xomeOvl1WK1BVO7z8DjSdEBGzbV76sPDJb/fw+y+VWrkEiddD/9CSfgfBNOb1p1jVnT 2mFgGneIWbU0zdDGhleI9UoQTr0e0b/7TU+Jo6TqwosP9nbk5hXw6uR5k5PF8ieyHVq3qatJ 9K1jPkBr8YWtI5uNwJJjTKIA1jHlj8McROroxMdI6qZ/wZ1ImuylpJuJwCDCORYf5kW61fcr HEDlIvGc371OOvw6ejF8ksX5+L2zwh43l/pKkSVGFpxtMV6d6J3eqwTafL86YJWH93PN+ZUh 6i6Rd2U/i8jH5WvzR57UeWxE4P8bQc0hNGrUsHQH6bpHV2lbuhDdqo+cM9ehGZEO3+gCDFmK rjspZjkJbB5Gadzvts5fcWGOXEvuT8uQSvl+vEL0g6vczsyPBtqoBLa9SNrSVtSixD1uOgyt AP7RWS474w== Message-ID: <36066d75-899e-c9ca-835e-0040659c914b@embeddedor.com> Date: Tue, 25 Aug 2020 12:01:55 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <777e01f8dc9bd35e8b7bdf1b5181d0d13b86d8b9.camel@perches.com> Content-Type: text/plain; charset=utf-8 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: 187.162.31.110 X-Source-L: No X-Exim-ID: 1kAcEl-0012jd-Uk X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 187-162-31-110.static.axtel.net ([192.168.15.8]) [187.162.31.110]:58848 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 26 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 On 8/25/20 11:47, Joe Perches wrote: > On Tue, 2020-08-25 at 11:49 -0500, Gustavo A. R. Silva wrote: >> >> On 8/25/20 11:26, Joe Perches wrote: >>> On Tue, 2020-08-25 at 11:19 -0500, Gustavo A. R. Silva wrote: >>>> On 8/25/20 10:51, Alex Dewar wrote: >>>>> Commit 36a8f01cd24b ("IB/qib: Add congestion control agent implementation") >>>>> erroneously marked a couple of switch cases as /* FALLTHROUGH */, which >>>>> were later converted to fallthrough statements by commit df561f6688fe >>>>> ("treewide: Use fallthrough pseudo-keyword"). This triggered a Coverity >>>>> warning about unreachable code. >>>>> >>>>> Remove the fallthrough statements and replace the mass of gotos with >>>>> simple return statements to make the code terser and less bug-prone. >>>>> >>>> >>>> This should be split up into two separate patches: one to address the >>>> fallthrough markings, and another one for the gotos. >>> >>> I don't think it's necessary to break this into multiple patches. >>> Logical changes in a single patch are just fine, micro patches >>> aren't that useful. >>> >> >> There is a reason for this. Read the changelog text and review the patch. > > What makes you think I didn't already do that? > You would have noticed this should be two patches. > I think your desire for micropatches is unnecessary. > You might be generalizing. My 'desire' here is justified and specific. Thanks -- Gustavo