]> git.baikalelectronics.ru Git - 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)
commitb20fa5fe940399289d1fcb5d9c28110fbab5f5bf
treef3ce304966b9be2016c87e471426e2221347fea4
parent9afa7a1edc44bc18ed86a81d0cb396f498630b54
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