]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: Use static inlines instead of macros
authorMark Rustad <mark.d.rustad@intel.com>
Tue, 4 Mar 2014 03:02:23 +0000 (03:02 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 21 Mar 2014 08:59:48 +0000 (01:59 -0700)
commit4ed1cb6f85aa6df3e4c6701c71d20fdcc1645fd2
tree8b02e91cff58c3ee2ec47a0fac80f56b7eebdd63
parentd622084eb861a0259105ef28ef0b3436d00b72db
ixgbevf: Use static inlines instead of macros

Kernel coding standard prefers static inline functions instead
of macros, so use them for register accessors. This is to prepare
for adding LER, Live Error Recovery, checks to those accessors.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
drivers/net/ethernet/intel/ixgbevf/regs.h
drivers/net/ethernet/intel/ixgbevf/vf.h