diff options
author | Don Skidmore <donald.c.skidmore@intel.com> | 2016-06-17 17:10:13 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-07-22 01:12:58 -0700 |
commit | 003287e0f0875d0ba5f4ee3d7741ec9992766d71 (patch) | |
tree | ea2e146a456936f8ce4325a39c7d4a1eb9fa1bcd /drivers/net/ethernet/intel/ixgbevf | |
parent | fc355e078a830c40f6245a55ecfff6481a4bcf57 (diff) | |
download | linux-003287e0f0875d0ba5f4ee3d7741ec9992766d71.tar.bz2 |
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 mistakenly 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@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbevf')
0 files changed, 0 insertions, 0 deletions