Thread (3 messages) 3 messages, 3 authors, 2021-06-08

Re: [PATCH][next] scsi: mpt3sas: Fix fall-through warnings for Clang

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

On Fri, May 28, 2021 at 03:08:28PM -0500, Gustavo A. R. Silva wrote:
In preparation to enable -Wimplicit-fallthrough for Clang, fix a couple
of warnings by explicitly adding break statements instead of just 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