aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/marvell/sky2.c
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2019-07-02 08:22:58 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-08-05 11:42:05 -0700
commitb27223591606f59c1f7c042b8e3dc74affadf492 (patch)
tree38a69dd7156390ebd32b02b0725fe47c993ed878 /drivers/net/ethernet/marvell/sky2.c
parenti40e: Log info when PF is entering and leaving Allmulti mode. (diff)
downloadlinux-dev-b27223591606f59c1f7c042b8e3dc74affadf492.tar.xz
linux-dev-b27223591606f59c1f7c042b8e3dc74affadf492.zip
i40e: verify string count matches even on early return
Similar to i40e_get_ethtool_stats, add a goto to verify that the data pointer for the strings lines up with the expected stats count. This helps ensure that bugs are not introduced when adding stats. Signed-off-by: Jacob Keller <jacob.e.keller@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/marvell/sky2.c')
0 files changed, 0 insertions, 0 deletions