Thread (8 messages) 8 messages, 4 authors, 2019-07-05

Re: [PATCH] video: fbdev: s3c-fb: Mark expected switch fall-throughs

From: Kees Cook <hidden>
Date: 2019-06-25 17:31:30
Also in: dri-devel, linux-kbuild, lkml

On Tue, Jun 25, 2019 at 09:52:23AM -0700, Joe Perches wrote:
On Tue, 2019-06-25 at 11:01 -0500, Gustavo A. R. Silva wrote:
quoted
In preparation to enabling -Wimplicit-fallthrough, mark switch
cases where we are expecting to fall through.
[]
quoted
This patch is part of the ongoing efforts to enable
-Wimplicit-fallthrough.
Just enable the thing already.
Linus has been pretty clear about not wanting warning options enabled
without first fixing all the cases it warns about first. If that's
changed, then sure, let's do it; but we went through a lot of coordination
with sfr for linux-next nag-mail coverage (where maintainers are now
fixing it themselves) when this came up during the last kernel summit,
and this approach was the agreed solution.

-- 
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