mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-17 04:04:55 +00:00
igb: e1000_82575: Mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.
Addresses-Coverity-ID: 114799 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7e9660ff6f
commit
b9e0e23f91
1 changed files with 1 additions and 0 deletions
|
|
@ -1708,6 +1708,7 @@ static s32 igb_setup_serdes_link_82575(struct e1000_hw *hw)
|
|||
case E1000_CTRL_EXT_LINK_MODE_1000BASE_KX:
|
||||
/* disable PCS autoneg and support parallel detect only */
|
||||
pcs_autoneg = false;
|
||||
/* fall through */
|
||||
default:
|
||||
if (hw->mac.type == e1000_82575 ||
|
||||
hw->mac.type == e1000_82576) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue