Thread (2 messages) flat view 2 messages, 2 authors, 2021-04-17

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

From: Kalle Valo <hidden>
Date: 2021-04-17 17:52:08
Also in: linux-hardening, linux-wireless, lkml

"Gustavo A. R. Silva" [off-list ref] wrote:
In preparation to enable -Wimplicit-fallthrough for Clang, fix
multiple warnings by replacing /* fall through */ comments with
the new pseudo-keyword macro fallthrough; instead of letting the
code fall through to the next case.

Notice that Clang doesn't recognize /* fall through */ comments as
implicit fall-through markings.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Patch applied to wireless-drivers-next.git, thanks.

bf3365a856a1 rtl8xxxu: Fix fall-through warnings for Clang

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20210305094850.GA141221@embeddedor/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help