[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200831153440.GA24045@ziepe.ca>
Date: Mon, 31 Aug 2020 12:34:40 -0300
From: Jason Gunthorpe <jgg@...pe.ca>
To: Cengiz Can <cengiz@...nel.wtf>
Cc: Dennis Dalessandro <dennis.dalessandro@...el.com>,
Mike Marciniszyn <mike.marciniszyn@...el.com>,
Doug Ledford <dledford@...hat.com>,
"Gustavo A . R . Silva" <gustavoars@...nel.org>,
linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] infiniband: remove unnecessary fallthrough usage
On Mon, Aug 31, 2020 at 06:30:34PM +0300, Cengiz Can wrote:
> Since /* fallthrough */ comments are deprecated[1], they are being replaced
> by new 'fallthrough' pseudo-keyword.
>
> [1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?\
> highlight=fallthrough#implicit-switch-case-fall-through
>
> This sometimes leads to unreachable code warnings by static analyzers,
> particularly in this case, Coverity Scanner. (CID 1466512)
>
> Remove unnecessary 'fallthrough' keywords to prevent dead code
> warnings.
>
> Signed-off-by: Cengiz Can <cengiz@...nel.wtf>
> ---
> drivers/infiniband/hw/qib/qib_mad.c | 2 --
> 1 file changed, 2 deletions(-)
Alex beat you to it:
https://patchwork.kernel.org/patch/11736039/
Thanks,
Jason
Powered by blists - more mailing lists