]> 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)
commit45fd23b13a4c7c0caf67b5a9c2ca60a48f61d3cb
treebc2b37a8643e84fa8fe94315c39c66bd8ceefd3d
parente3eaf487c2dfd7d9ea2ae05a8135c9c27cb551e8
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