]> git.baikalelectronics.ru Git - kernel.git/commit
net: filter: mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 14 Aug 2018 16:20:21 +0000 (11:20 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Aug 2018 17:11:26 +0000 (10:11 -0700)
commitc7672b9b676ddc1534e40952d946d60b643d3456
tree62f7710c555af1cfe06926755abc1400fef8cc6d
parent6457aab8d3c3803d970c702c4732bd22ce7d0e2e
net: filter: mark expected switch fall-through

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

Addresses-Coverity-ID: 1472592 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/filter.c