diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2012-12-05 01:26:19 -0500 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2013-01-16 02:40:35 -0500 |
commit | 8e5ab42d7fdd73b11a6b6b58b4a7b26931c73385 (patch) | |
tree | 57135e1b1bc504eef399ffa2407c55b40e12699a | |
parent | 12d43f7d3cd36494a442dea6f2d2c7ccb76d0d80 (diff) |
e1000e: add missing bailout on error
...discovered during code inspection.
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r-- | drivers/net/ethernet/intel/e1000e/ich8lan.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/e1000e/ich8lan.c b/drivers/net/ethernet/intel/e1000e/ich8lan.c index 15d93141cc11..051dfda75fc0 100644 --- a/drivers/net/ethernet/intel/e1000e/ich8lan.c +++ b/drivers/net/ethernet/intel/e1000e/ich8lan.c | |||
@@ -2077,6 +2077,8 @@ static s32 e1000_lv_phy_workarounds_ich8lan(struct e1000_hw *hw) | |||
2077 | 2077 | ||
2078 | /* Set MDIO slow mode before any other MDIO access */ | 2078 | /* Set MDIO slow mode before any other MDIO access */ |
2079 | ret_val = e1000_set_mdio_slow_mode_hv(hw); | 2079 | ret_val = e1000_set_mdio_slow_mode_hv(hw); |
2080 | if (ret_val) | ||
2081 | return ret_val; | ||
2080 | 2082 | ||
2081 | ret_val = hw->phy.ops.acquire(hw); | 2083 | ret_val = hw->phy.ops.acquire(hw); |
2082 | if (ret_val) | 2084 | if (ret_val) |