diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-08-07 19:15:35 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-07 20:54:19 -0400 |
commit | 10c7666e70d979d78bf6b8c1b6ab6dd68cd0d96b (patch) | |
tree | 9b0d0923bf53b3fe9c36601c27957b7106828b4b /drivers/net/ethernet/dec/tulip | |
parent | 6da5ae5f00e84b469ba52e734c856b707eac90a6 (diff) |
net: tulip_core: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 114782 ("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/dec/tulip')
-rw-r--r-- | drivers/net/ethernet/dec/tulip/tulip_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/dec/tulip/tulip_core.c b/drivers/net/ethernet/dec/tulip/tulip_core.c index 00d02a0967d0..3e3e08698876 100644 --- a/drivers/net/ethernet/dec/tulip/tulip_core.c +++ b/drivers/net/ethernet/dec/tulip/tulip_core.c | |||
@@ -923,6 +923,7 @@ static int private_ioctl (struct net_device *dev, struct ifreq *rq, int cmd) | |||
923 | data->phy_id = 1; | 923 | data->phy_id = 1; |
924 | else | 924 | else |
925 | return -ENODEV; | 925 | return -ENODEV; |
926 | /* Fall through */ | ||
926 | 927 | ||
927 | case SIOCGMIIREG: /* Read MII PHY register. */ | 928 | case SIOCGMIIREG: /* Read MII PHY register. */ |
928 | if (data->phy_id == 32 && (tp->flags & HAS_NWAY)) { | 929 | if (data->phy_id == 32 && (tp->flags & HAS_NWAY)) { |