[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201118104858.283cfd87@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net>
Date: Wed, 18 Nov 2020 10:48:58 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Simon Horman <simon.horman@...ronome.com>
Cc: "Gustavo A. R. Silva" <gustavoars@...nel.org>,
"David S. Miller" <davem@...emloft.net>, oss-drivers@...ronome.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] nfp: tls: Fix unreachable code issue
On Tue, 17 Nov 2020 21:06:47 +0100 Simon Horman wrote:
> On Tue, Nov 17, 2020 at 11:13:47AM -0600, Gustavo A. R. Silva wrote:
> > Fix the following unreachable code issue:
> >
> > drivers/net/ethernet/netronome/nfp/crypto/tls.c: In function 'nfp_net_tls_add':
> > include/linux/compiler_attributes.h:208:41: warning: statement will never be executed [-Wswitch-unreachable]
> > 208 | # define fallthrough __attribute__((__fallthrough__))
> > | ^~~~~~~~~~~~~
> > drivers/net/ethernet/netronome/nfp/crypto/tls.c:299:3: note: in expansion of macro 'fallthrough'
> > 299 | fallthrough;
> > | ^~~~~~~~~~~
> >
> > Reported-by: kernel test robot <lkp@...el.com>
> > Signed-off-by: Gustavo A. R. Silva <gustavoars@...nel.org>
>
> Reviewed-by: Simon Horman <simon.horman@...ronome.com>
Applied, thanks!
Powered by blists - more mailing lists