]> asedeno.scripts.mit.edu Git - linux.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)
commitbc28df6e8543d41abfb48d4a4c6d445638d6768c
treebc2b37a8643e84fa8fe94315c39c66bd8ceefd3d
parent2a600d97cbb2a9311e6b42547d37e0eca9b9d6d6
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