[Intel-wired-lan] [PATCH] ixgbevf: Correct parameter sent to LED function

Bowers, AndrewX andrewx.bowers at intel.com
Thu Jun 30 18:07:58 UTC 2016


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Donald C Skidmore
> Sent: Friday, June 17, 2016 2:10 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH] ixgbevf: Correct parameter sent to LED
> function
> 
> The second parameter of these functions is the index to the led we are
> interested in affecting.  However we were mistakingly passing the offset in
> the register.  This patch corrects that and adds some bonds checking which
> would hopefully make bugs like this more noticeable in the future.
> 
> Signed-off-by: Don Skidmore <donald.c.skidmore at intel.com>
> ---
>  drivers/net/ethernet/intel/ixgbe/ixgbe_common.c  | 12 ++++++++++++
> drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c |  4 ++--
>  2 files changed, 14 insertions(+), 2 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
Lights function correctly on available hardware.


More information about the Intel-wired-lan mailing list