]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 4 Jul 2018 21:13:59 +0000 (16:13 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jul 2018 11:24:01 +0000 (20:24 +0900)
commita4839e225e98ff79ea1b160543ed1bd1a03f01f6
treee8850f4c95617bc6994639ad59a0cb1c6cf0d0de
parent77129e8baae9ba25c11c39c01759294328ec89da
tipc: mark expected switch fall-throughs

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

Warning level 2 was used: -Wimplicit-fallthrough=2

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bearer.c
net/tipc/link.c