aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJoe Schultz <[email protected]>2015-11-03 18:37:29 +0000
committerJeff Kirsher <[email protected]>2015-12-15 00:07:21 +0000
commitd602de05934c1d3022b153ff879e81f65df2a7b6 (patch)
treecf28cc8aa001d7504c8b9f5140e0bff1e0e816f9 /net/switchdev/switchdev.c
parentigb: Improve cable length function for I210, etc. (diff)
downloadkernel-d602de05934c1d3022b153ff879e81f65df2a7b6.tar.gz
kernel-d602de05934c1d3022b153ff879e81f65df2a7b6.zip
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 <[email protected]> Signed-off-by: Aaron Sierra <[email protected]> Tested-by: Aaron Brown <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions