lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 17 May 2019 22:36:47 +0000 From: "Bowers, AndrewX" <andrewx.bowers@...el.com> To: "netdev@...r.kernel.org" <netdev@...r.kernel.org>, "intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org> Subject: RE: [Intel-wired-lan] [PATCH][next] i40e: mark expected switch fall-through > -----Original Message----- > From: Intel-wired-lan [mailto:intel-wired-lan-bounces@...osl.org] On > Behalf Of Gustavo A. R. Silva > Sent: Wednesday, May 1, 2019 1:56 PM > To: Kirsher, Jeffrey T <jeffrey.t.kirsher@...el.com>; David S. Miller > <davem@...emloft.net> > Cc: netdev@...r.kernel.org; intel-wired-lan@...ts.osuosl.org; linux- > kernel@...r.kernel.org; Kees Cook <keescook@...omium.org> > Subject: [Intel-wired-lan] [PATCH][next] i40e: mark expected switch fall- > through > > In preparation to enabling -Wimplicit-fallthrough, mark switch cases where > we are expecting to fall through. > > This patch fixes the following warning: > > drivers/net/ethernet/intel/i40e/i40e_xsk.c: In function ‘i40e_run_xdp_zc’: > drivers/net/ethernet/intel/i40e/i40e_xsk.c:217:3: warning: this statement > may fall through [-Wimplicit-fallthrough=] > bpf_warn_invalid_xdp_action(act); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > drivers/net/ethernet/intel/i40e/i40e_xsk.c:218:2: note: here > case XDP_ABORTED: > ^~~~ > > In preparation to enabling -Wimplicit-fallthrough, mark switch cases where > we are expecting to fall through. > > This patch fixes the following warning: > > Signed-off-by: Gustavo A. R. Silva <gustavo@...eddedor.com> > --- > drivers/net/ethernet/intel/i40e/i40e_xsk.c | 1 + > 1 file changed, 1 insertion(+) Tested-by: Andrew Bowers <andrewx.bowers@...el.com>
Powered by blists - more mailing lists