Thread (2 messages) flat view 2 messages, 2 authors, 2018-10-05

Re: [PATCH] gigaset: asyncdata: mark expected switch fall-throughs

From: David Miller <davem@davemloft.net>
Date: 2018-10-05 18:51:34
Also in: lkml

From: "Gustavo A. R. Silva" <redacted>
Date: Fri, 5 Oct 2018 15:29:09 +0200
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Notice that in this particular case, I replaced the
" --v-- fall through --v-- " comment with a proper
"fall through", which is what GCC is expecting to find.

Addresses-Coverity-ID: 1364476 ("Missing break in switch")
Addresses-Coverity-ID: 1364477 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help