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>
Showing
- drivers/net/ixgbe/ixgbe.h 3 additions, 3 deletionsdrivers/net/ixgbe/ixgbe.h
- drivers/net/ixgbe/ixgbe_ethtool.c 2 additions, 2 deletionsdrivers/net/ixgbe/ixgbe_ethtool.c
- drivers/net/ixgbe/ixgbe_fcoe.c 1 addition, 1 deletiondrivers/net/ixgbe/ixgbe_fcoe.c
- drivers/net/ixgbe/ixgbe_main.c 12 additions, 12 deletionsdrivers/net/ixgbe/ixgbe_main.c
Loading
Please register or sign in to comment