[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200831162521.GA673345@nvidia.com>
Date: Mon, 31 Aug 2020 13:25:21 -0300
From: Jason Gunthorpe <jgg@...dia.com>
To: Alex Dewar <alex.dewar90@...il.com>
CC: <dennis.dalessandro@...el.com>, <dledford@...hat.com>,
<gustavo@...eddedor.com>, <joe@...ches.com>,
<linux-kernel@...r.kernel.org>, <linux-rdma@...r.kernel.org>,
<mike.marciniszyn@...el.com>, <roland@...estorage.com>
Subject: Re: [PATCH v2 1/2] IB/qib: remove superfluous fallthrough statements
On Tue, Aug 25, 2020 at 06:12:42PM +0100, 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.
>
> Addresses-Coverity: ("Unreachable code")
> Fixes: 36a8f01cd24b ("IB/qib: Add congestion control agent implementation")
> Signed-off-by: Alex Dewar <alex.dewar90@...il.com>
> Reviewed-by: Gustavo A. R. Silva <gustavoars@...nel.org>
> ---
> v2: Do refactoring in a separate patch (Gustavo)
> ---
> drivers/infiniband/hw/qib/qib_mad.c | 2 --
> 1 file changed, 2 deletions(-)
Both applied to for-next, thanks
Jason
Powered by blists - more mailing lists