projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: Use fallthrough pseudo-keyword
[linux-block.git]
/
drivers
/
net
/
ethernet
/
ibm
/
emac
/
core.c
diff --git
a/drivers/net/ethernet/ibm/emac/core.c
b/drivers/net/ethernet/ibm/emac/core.c
index 06248a7db7f267afdad84c502952d7afc04b32b0..c00b9097eeea413755ead5d1f6e0949be72abe21 100644
(file)
--- a/
drivers/net/ethernet/ibm/emac/core.c
+++ b/
drivers/net/ethernet/ibm/emac/core.c
@@
-2319,7
+2319,7
@@
static int emac_ioctl(struct net_device *ndev, struct ifreq *rq, int cmd)
switch (cmd) {
case SIOCGMIIPHY:
data->phy_id = dev->phy.address;
- /* Fall through */
+ fallthrough;
case SIOCGMIIREG:
data->val_out = emac_mdio_read(ndev, dev->phy.address,
data->reg_num);