net: ksz884x: Use fallthrough pseudo-keyword
Subsystems (2)
PATCH 1/1 net: ksz884x: Use fallthrough pseudo-keyword
Replace /* Fallthrough... */ comment with the new pseudo-keyword macro fallthrough[1].
Signed-off-by Gustavo A. R. Silva <[email protected]>
--- drivers/net/ethernet/micrel/ksz884x.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/net/ethernet/micrel/ksz884x.c +1 -2
@@ -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 :
Signature · 1 line
2.27.0
From: "Gustavo A. R. Silva" <[email protected]>
Date: Fri, 2 Oct 2020 18:02:59 -0500
Quoted 6 lines
Replace /* Fallthrough... */ comment with the new pseudo-keyword macro fallthrough[1].
Signed-off-by Gustavo A. R. Silva <[email protected]>
Applied.