ixgbe: fix sparse warning
authorEmil Tantilov <emil.s.tantilov@intel.com>
Thu, 14 Apr 2011 07:46:41 +0000 (07:46 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 4 May 2011 19:16:16 +0000 (12:16 -0700)
commit95a46011843a3c49e1a002eddb6b2735c201e378
tree280b09325d6b78e798d410ce2fdd915b68e0e9ce
parent2698b20842884d7d4de55ea559baa57e2f2ebea4
ixgbe: fix sparse warning

warning: symbol 'before' shadows an earlier one

Convert large macros to functions similar to e1000e.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Acked-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Evan Swanson <evan.swanson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_ethtool.c