commit | 910c9c0f59567ec204924d88ca04337bb04f17d9 | [log] [tgz] |
---|---|---|
author | Tony Nguyen <anthony.l.nguyen@intel.com> | Wed Nov 09 10:48:48 2016 -0800 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Tue Jan 03 13:03:35 2017 -0800 |
tree | e55634809342843ef888621701351b17347ecae0 | |
parent | 2bf1a87b903bd81b1448a1cef73de59fb6c4d340 [diff] |
ixgbe: Add bounds check for x540 LED functions This is an extension of commit 003287e0f087 ("ixgbevf: Correct parameter sent to LED function"); add bounds checking to x540 functions to ensure the index is valid. Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>