diff options
author | Joe Schultz <jschultz@xes-inc.com> | 2015-11-03 21:37:29 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-12-15 03:07:21 +0300 |
commit | d602de05934c1d3022b153ff879e81f65df2a7b6 (patch) | |
tree | cf28cc8aa001d7504c8b9f5140e0bff1e0e816f9 /net/switchdev/switchdev.c | |
parent | 3627f8f1d137f6487e51ff1199a54a087a2a6446 (diff) | |
download | linux-d602de05934c1d3022b153ff879e81f65df2a7b6.tar.xz |
igb: Explicitly label self-test result indices
Previously, the ethtool self-test gstrings/data arrays were accessed via
hardcoded indices, which made the code difficult to follow. This patch
replaces the hardcoded values with enum-based labels.
Signed-off-by: Joe Schultz <jschultz@xes-inc.com>
Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions