]> git.baikalelectronics.ru Git - kernel.git/commit
gigaset: asyncdata: mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Fri, 5 Oct 2018 13:29:09 +0000 (15:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Oct 2018 17:47:49 +0000 (10:47 -0700)
commitf6881f92493272929584f89f87e00fdaaae29d40
treead6d53c1dac27a8a47079af800d251e143399d7c
parentb291658a3b20683a75a5d02dd11c7513389fb022
gigaset: asyncdata: mark expected switch fall-throughs

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/gigaset/asyncdata.c