Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161511105
D14663.id40202.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D14663.id40202.diff
View Options
Index: head/sys/dev/e1000/e1000_82575.c
===================================================================
--- head/sys/dev/e1000/e1000_82575.c
+++ head/sys/dev/e1000/e1000_82575.c
@@ -1679,7 +1679,7 @@
case E1000_CTRL_EXT_LINK_MODE_1000BASE_KX:
/* disable PCS autoneg and support parallel detect only */
pcs_autoneg = FALSE;
- /* fall through to default case */
+ /* FALLTHROUGH */
default:
if (hw->mac.type == e1000_82575 ||
hw->mac.type == e1000_82576) {
@@ -1806,6 +1806,7 @@
break;
}
/* fall through for I2C based SGMII */
+ /* FALLTHROUGH */
case E1000_CTRL_EXT_LINK_MODE_PCIE_SERDES:
/* read media type from SFP EEPROM */
ret_val = e1000_set_sfp_media_type_82575(hw);
Index: head/sys/dev/e1000/e1000_mbx.c
===================================================================
--- head/sys/dev/e1000/e1000_mbx.c
+++ head/sys/dev/e1000/e1000_mbx.c
@@ -779,6 +779,7 @@
mbx->stats.reqs = 0;
mbx->stats.acks = 0;
mbx->stats.rsts = 0;
+ /* FALLTHROUGH */
default:
return E1000_SUCCESS;
}
Index: head/sys/dev/e1000/e1000_phy.c
===================================================================
--- head/sys/dev/e1000/e1000_phy.c
+++ head/sys/dev/e1000/e1000_phy.c
@@ -1298,6 +1298,7 @@
phy_data |= M88E1000_PSCR_AUTO_X_1000T;
break;
}
+ /* FALLTHROUGH */
case 0:
default:
phy_data |= M88E1000_PSCR_AUTO_X_MODE;
Index: head/sys/dev/e1000/e1000_vf.c
===================================================================
--- head/sys/dev/e1000/e1000_vf.c
+++ head/sys/dev/e1000/e1000_vf.c
@@ -488,8 +488,10 @@
break;
case e1000_promisc_enabled:
msgbuf |= E1000_VF_SET_PROMISC_MULTICAST;
+ /* FALLTHROUGH */
case e1000_promisc_unicast:
msgbuf |= E1000_VF_SET_PROMISC_UNICAST;
+ /* FALLTHROUGH */
case e1000_promisc_disabled:
break;
default:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jul 5, 10:30 AM (2 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34646508
Default Alt Text
D14663.id40202.diff (1 KB)
Attached To
Mode
D14663: e1000g: this statement may fall through
Attached
Detach File
Event Timeline
Log In to Comment