commit | b27223591606f59c1f7c042b8e3dc74affadf492 | [log] [tgz] |
---|---|---|
author | Jacob Keller <jacob.e.keller@intel.com> | Tue Jul 02 08:22:58 2019 -0400 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Mon Aug 05 11:42:05 2019 -0700 |
tree | 38a69dd7156390ebd32b02b0725fe47c993ed878 | |
parent | b603f9dc20afed5e4666642c8713cafb94a23058 [diff] |
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>