From: Gustavo A. R. Silva Date: Tue, 7 Aug 2018 23:22:57 +0000 (-0500) Subject: igb: e1000_82575: Mark expected switch fall-through X-Git-Tag: v4.19~410^2~94^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9e0e23f918bafddaaf3b91b099f027679a77467;p=platform%2Fkernel%2Flinux-rpi3.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/intel/igb/e1000_82575.c b/drivers/net/ethernet/intel/igb/e1000_82575.c index a795c07..bafdcf7 100644 --- a/drivers/net/ethernet/intel/igb/e1000_82575.c +++ b/drivers/net/ethernet/intel/igb/e1000_82575.c @@ -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) {