Thread (2 messages) flat view 2 messages, 2 authors, 2021-06-01

Re: [PATCH][next] octeontx2-pf: Fix fall-through warning for Clang

From: Kees Cook <hidden>
Date: 2021-06-01 19:21:14
Also in: linux-hardening, lkml

On Fri, May 28, 2021 at 03:22:25PM -0500, Gustavo A. R. Silva wrote:
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement instead of letting the code fall
through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Kees Cook <redacted>

-- 
Kees Cook
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help