[Intel-wired-lan] [PATCH] ixgbe: add error checks when initializing the PHY

Bowers, AndrewX andrewx.bowers at intel.com
Mon Aug 28 19:14:08 UTC 2017


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Emil Tantilov
> Sent: Friday, August 18, 2017 3:48 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH] 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 at intel.com>
> ---
>  drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c |    8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list