diff options
author | 2018-04-02 09:26:06 -0700 | |
---|---|---|
committer | 2018-04-06 07:00:09 -0700 | |
commit | cba5957d7e08fffd6237e4bd8f42adad057ab8bb (patch) | |
tree | cea39eaad0ca93a8fb855e2a6f2c4c0ba7eafed6 /net/tipc | |
parent | ice: Fix error return code in ice_init_hw() (diff) | |
download | wireguard-linux-cba5957d7e08fffd6237e4bd8f42adad057ab8bb.tar.xz wireguard-linux-cba5957d7e08fffd6237e4bd8f42adad057ab8bb.zip |
ice: Bug fixes in ethtool code
1) Return correct size from ice_get_regs_len.
2) Fix incorrect use of ARRAY_SIZE in ice_get_regs.
Fixes: fcea6f3da546 (ice: Add stats and ethtool support)
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions