]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: conntrack: mark expected switch fall-through
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Thu, 19 Oct 2017 17:55:03 +0000 (12:55 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Oct 2017 01:01:26 +0000 (02:01 +0100)
commitb8e589f134b3bd796e8b23698cf8ec02c7dc98fc
tree1183df3a3b6cd1c2e71d46f985977c196d93f915
parent3e9d5609c0825a6615e5485a35a40511672ec10a
openvswitch: conntrack: mark expected switch fall-through

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

Notice that in this particular case I placed a "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/openvswitch/conntrack.c