OpenCloudOS-Kernel/drivers/net/ethernet/intel
Dinghao Liu b52912b829 e1000e: Fix error handling in e1000_set_d0_lplu_state_82571
There is one e1e_wphy() call in e1000_set_d0_lplu_state_82571
that we have caught its return value but lack further handling.
Check and terminate the execution flow just like other e1e_wphy()
in this function.

Fixes: bc7f75fa97 ("[E1000E]: New pci-express e1000 driver (currently for ICH9 devices only)")
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Acked-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2021-03-11 09:37:48 -08:00
..
e1000 e1000: drop unneeded assignment in e1000_set_itr() 2021-02-03 16:32:18 -08:00
e1000e e1000e: Fix error handling in e1000_set_d0_lplu_state_82571 2021-03-11 09:37:48 -08:00
fm10k net: use the new dev_page_is_reusable() instead of private versions 2021-02-04 18:20:14 -08:00
i40e Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue 2021-02-22 19:14:48 -08:00
iavf net: intel: iavf: fix error return code of iavf_init_get_resources() 2021-03-05 12:59:32 -08:00
ice ice: update the number of available RSS queues 2021-02-22 11:28:57 -08:00
igb Merge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 2021-02-04 21:26:28 -08:00
igbvf net: igbvf: use skb_csum_is_sctp instead of protocol check 2021-01-19 14:31:25 -08:00
igc igc: Fix igc_ptp_rx_pktstamp() 2021-03-11 09:37:48 -08:00
ixgb intel: handle unused assignments 2020-09-25 16:28:59 -07:00
ixgbe ixgbe: Fix memleak in ixgbe_configure_clsu32 2021-03-04 11:05:06 -08:00
ixgbevf ixgbe: fail to create xfrm offload of IPsec tunnel mode SA 2021-03-04 11:05:05 -08:00
Kconfig ice: implement device flash update via devlink 2020-07-28 17:07:06 -07:00
Makefile
e100.c e100: switch from 'pci_' to 'dma_' API 2021-01-28 18:31:18 -08:00