Messages in this thread | | | Date | Fri, 05 Oct 2018 11:51:30 -0700 (PDT) | Subject | Re: [PATCH] gigaset: asyncdata: mark expected switch fall-throughs | From | David Miller <> |
| |
From: "Gustavo A. R. Silva" <gustavo@embeddedor.com> 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 <gustavo@embeddedor.com>
Applied.
| |