diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2016-07-29 10:30:11 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-08-18 22:45:20 -0700 |
commit | 4ad6af0237fd3a2ab8e8ef8a43f7fe4bb3787718 (patch) | |
tree | 0e5439b1d4f14c19d58705120b5351f8ba9845b4 /drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | |
parent | a55defd897cb2b4d96fedd81e2d5513d83ff339e (diff) | |
download | linux-stable-4ad6af0237fd3a2ab8e8ef8a43f7fe4bb3787718.tar.gz linux-stable-4ad6af0237fd3a2ab8e8ef8a43f7fe4bb3787718.tar.bz2 linux-stable-4ad6af0237fd3a2ab8e8ef8a43f7fe4bb3787718.zip |
ixgbevf: change hw_dbg to use netdev_dbg
Instead of the home brewed macro make use of netdev_dbg same as
the ixgbe driver.
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c')
-rw-r--r-- | drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c index d9d6616f02a4..8d4f535b9e92 100644 --- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c +++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c @@ -2993,6 +2993,7 @@ static void ixgbevf_free_all_tx_resources(struct ixgbevf_adapter *adapter) **/ int ixgbevf_setup_tx_resources(struct ixgbevf_ring *tx_ring) { + struct ixgbevf_adapter *adapter = netdev_priv(tx_ring->netdev); int size; size = sizeof(struct ixgbevf_tx_buffer) * tx_ring->count; |