[Intel-wired-lan] [PATCH 4/5] igb: Explicitly label self-test result indices
Brown, Aaron F
aaron.f.brown at intel.com
Thu Dec 3 03:40:18 UTC 2015
> From: Intel-wired-lan [intel-wired-lan-bounces at lists.osuosl.org] on behalf of Aaron Sierra [asierra at xes-inc.com]
> Sent: Tuesday, November 03, 2015 10:37 AM
> To: Kirsher, Jeffrey T; intel-wired-lan at lists.osuosl.org
> Cc: Joe Schultz
> Subject: [Intel-wired-lan] [PATCH 4/5] igb: Explicitly label self-test result indices
>
> From: Joe Schultz <jschultz at xes-inc.com>
>
> 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 at xes-inc.com>
> Signed-off-by: Aaron Sierra <asierra at xes-inc.com>
> ---
> drivers/net/ethernet/intel/igb/igb_ethtool.c | 38 ++++++++++++++++++----------
> 1 file changed, 24 insertions(+), 14 deletions(-)
Tested-by: Aaron Brown <aaron.f.brown at intel.com>
More information about the Intel-wired-lan
mailing list