diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-08-08 02:32:19 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-08 03:54:21 +0300 |
commit | e38c2e11ebcc2bd13aa8220bc4ccce5228030526 (patch) | |
tree | 8b02ac20dad7e4128016f9fa7bb9f179dca0710d /drivers/net/ethernet/ti/cpts.c | |
parent | 681685a1ce060c4fd69b0a1124ef40baadb330a4 (diff) | |
download | linux-e38c2e11ebcc2bd13aa8220bc4ccce5228030526.tar.xz |
net: ethernet: ti: cpts: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 114813 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/cpts.c')
-rw-r--r-- | drivers/net/ethernet/ti/cpts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ti/cpts.c b/drivers/net/ethernet/ti/cpts.c index b4ea58dc8caf..b96b93c686bf 100644 --- a/drivers/net/ethernet/ti/cpts.c +++ b/drivers/net/ethernet/ti/cpts.c @@ -161,6 +161,7 @@ static int cpts_fifo_read(struct cpts *cpts, int match) */ break; } + /* fall through */ case CPTS_EV_PUSH: case CPTS_EV_RX: list_del_init(&event->list); |