]> git.baikalelectronics.ru Git - kernel.git/commit
net: dccp: mark expected switch fall-throughs
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Sun, 15 Oct 2017 18:22:10 +0000 (13:22 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Oct 2017 20:15:21 +0000 (21:15 +0100)
commitdc2ce5545bb97032dfa549df5012dc6797e0a179
treebc2b37a8643e84fa8fe94315c39c66bd8ceefd3d
parentd19e1482413770bd0499c0cc5cc2e8b2e09e93bf
net: dccp: mark expected switch fall-throughs

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Notice that for options.c file, I placed the "fall through" comment
on its own line, which is what GCC is expecting to find.

Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/input.c
net/dccp/options.c