]> 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)
commit65fbff7838bab49033705cec1a1480083e07d84f
tree62f7710c555af1cfe06926755abc1400fef8cc6d
parent050a0dfe8c7b39ba8a1b42ae678e08b736f2e232
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