i40evf: Use macro param for ethtool stats
authorMitch Williams <mitch.a.williams@intel.com>
Fri, 4 Apr 2014 04:43:08 +0000 (04:43 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 21 May 2014 09:13:05 +0000 (02:13 -0700)
commitc7b8d978a6087d2bdcc6c79cab07dc58888b89fc
tree8f219b1dec8c9fb90ba1b12ac68a5065904d0d00
parent1c112a6475c157d2f59cace533e3ce825ce49024
i40evf: Use macro param for ethtool stats

Use a macro parameter for ethtool stats instead of just assuming
that a valid netdev variable exists. Suggested by Ben Hutchings.

CC: Ben Hutchings <ben@decadent.org.uk>
Change-ID: I66681698573c1549f95fdea310149d8a7e96a60f
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_ethtool.c