]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: update all DESC_ADV macros to accept a ring pointer
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 19 Aug 2010 13:40:31 +0000 (13:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Aug 2010 23:44:27 +0000 (16:44 -0700)
commit1ac6c8938390a29ce0ad789fcba06c61ece6825a
tree9a43b360c95d8648466c2f38a496175bae384b55
parent26745f1a12b420d5b22908429c71ca0809292e10
ixgbe: update all DESC_ADV macros to accept a ring pointer

All of the DESC_ADV macros are currently needing the pointers to be
de-referenced before accessing the ring.  Instead of having to add all of
the asterisks it is easier to just update the macro to expect a pointer to
the ring.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_ethtool.c
drivers/net/ixgbe/ixgbe_fcoe.c
drivers/net/ixgbe/ixgbe_main.c