Patch "e1000e: Fix return value test" has been added to the 4.14-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
e1000e: Fix return value test
to the 4.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
e1000e-fix-return-value-test.patch
and it can be found in the queue-4.14 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
d3509f8bc7b0560044c15f0e3ecfde1d9af757a6Mon Sep 17 00:00:00 2001
From: Benjamin Poirier <[email protected]>
Date: Fri, 21 Jul 2017 11:36:25 -0700
Subject: e1000e: Fix return value test
From: Benjamin Poirier <[email protected]>
commit d3509f8bc7b0560044c15f0e3ecfde1d9af757a6 upstream.
All the helpers return -E1000_ERR_PHY.
--- drivers/net/ethernet/intel/e1000e/netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/e1000e/netdev.c +1 -1
@@ -5099,7 +5099,7 @@ static bool e1000e_has_link(struct e1000break ; } -if ((ret_val ==E1000_ERR_PHY ) && (hw->phy.type == e1000_phy_igp_3) && +if ((ret_val == -E1000_ERR_PHY ) && (hw->phy.type == e1000_phy_igp_3) && (er32 (CTRL ) &E1000_PHY_CTRL_GBE_DISABLE )) {/* See e1000_kmrn_lock_loss_workaround_ich8lan() */ e_info ("Gigabit has been disabled, downgrading speed\n" );
Patches currently in stable-queue which might be from [email protected] are
queue-4.14/e1000e-fix-error-path-in-link-detection.patch queue-4.14/e1000e-separate-signaling-for-link-check-link-up.patch queue-4.14/e1000e-fix-return-value-test.patch queue-4.14/e1000e-avoid-receiver-overrun-interrupt-bursts.patch