]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ixgbe: add error checks when initializing the PHY
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 18 Aug 2017 22:48:02 +0000 (15:48 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 9 Oct 2017 16:38:11 +0000 (09:38 -0700)
commitc69be946d687a99dbc891ebc66539c1c2f082c1d
treef3ce304966b9be2016c87e471426e2221347fea4
parentf5a71caa1763cc8fd1b108234689d6a7e4fe9d2f
ixgbe: add error checks when initializing the PHY

Ignoring errors when attempting to identify the PHY can lead to a crash.
Specifically in the case of FW controlled PHYs where the PHY read/write
operations are set to NULL.

Removed redundant comment.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c