]> 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)
commitdff7d6c8757ebc5398565dea6d666d8b86b99b59
tree8b02e91cff58c3ee2ec47a0fac80f56b7eebdd63
parentd794db53fb3cf9a40d3841a4c9a9bf09abd5ba5e
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