]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Thu, 28 Jun 2018 01:45:24 +0000 (20:45 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Jun 2018 13:18:29 +0000 (22:18 +0900)
commite0eb70c2bd780ab50957414edc9776ac41bc1296
treeba17c6f21eab3784dd1c7ffae2b24b55fbbd8130
parentecca1761346ae53bde78c0419dcc5ec5b4b36a52
tg3: Mark expected switch fall-throughs

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

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Acked-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c