diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-10-02 18:02:59 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-10-03 17:33:23 -0700 |
commit | 401d8ce4ae07e32c46ca6cc2adbd9fced452ec93 (patch) | |
tree | 7fdedf5530c58219090cc69d5349c4739a3ed855 /drivers | |
parent | e55e66e8ae84ee23863af046318c463516042bba (diff) |
net: ksz884x: Use fallthrough pseudo-keyword
Replace /* Fallthrough... */ comment with the new pseudo-keyword macro
fallthrough[1].
[1] https://www.kernel.org/doc/html/v5.7/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/micrel/ksz884x.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/micrel/ksz884x.c b/drivers/net/ethernet/micrel/ksz884x.c index cefbb2298004..9ed264ed7070 100644 --- a/drivers/net/ethernet/micrel/ksz884x.c +++ b/drivers/net/ethernet/micrel/ksz884x.c @@ -5833,8 +5833,7 @@ static int netdev_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) /* Get address of MII PHY in use. */ case SIOCGMIIPHY: data->phy_id = priv->id; - - /* Fallthrough... */ + fallthrough; /* Read MII PHY register. */ case SIOCGMIIREG: |