[Intel-wired-lan] [PATCH] ixgbe: return error on upsupported SFP module when resetting

Bowers, AndrewX andrewx.bowers at intel.com
Mon Apr 23 21:00:03 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Emil Tantilov
> Sent: Thursday, April 19, 2018 5:07 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH] ixgbe: return error on upsupported SFP
> module when resetting
> 
> Add check for unsupported module and return the error code.
> This fixes a Coverity hit due to unused return status from setup_sfp.
> 
> Signed-off-by: Emil Tantilov <emil.s.tantilov at intel.com>
> ---
>  drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c |    3 +++
>  1 file changed, 3 insertions(+)

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




More information about the Intel-wired-lan mailing list