Re: [PATCH RESEND][next] netfilter: Fix fall-through warnings for Clang

2021-03-17 Thread Pablo Neira Ayuso
On Fri, Mar 05, 2021 at 02:42:09AM -0600, Gustavo A. R. Silva wrote: > In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple > warnings by explicitly adding multiple break statements instead of just > letting the code fall through to the next case. Applied to nf-next, thanks.

[PATCH RESEND][next] netfilter: Fix fall-through warnings for Clang

2021-03-05 Thread Gustavo A. R. Silva
In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple warnings by explicitly adding multiple break statements instead of just letting the code fall through to the next case. Link: https://github.com/KSPP/linux/issues/115 Acked-by: Florian Westphal Signed-off-by: Gustavo A. R.