aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-08-07 18:32:19 -0500
committerDavid S. Miller <davem@davemloft.net>2018-08-07 17:54:21 -0700
commite38c2e11ebcc2bd13aa8220bc4ccce5228030526 (patch)
tree8b02ac20dad7e4128016f9fa7bb9f179dca0710d /drivers/net/ethernet/ti
parentnet: tlan: Mark expected switch fall-through (diff)
downloadlinux-dev-e38c2e11ebcc2bd13aa8220bc4ccce5228030526.tar.xz
linux-dev-e38c2e11ebcc2bd13aa8220bc4ccce5228030526.zip
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')
-rw-r--r--drivers/net/ethernet/ti/cpts.c1
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);