summaryrefslogtreecommitdiff
path: root/drivers/net/cxgbe/cxgbevf_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/cxgbe/cxgbevf_main.c')
-rw-r--r--drivers/net/cxgbe/cxgbevf_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgbe/cxgbevf_main.c b/drivers/net/cxgbe/cxgbevf_main.c
index 0ac2d98..d334550 100644
--- a/drivers/net/cxgbe/cxgbevf_main.c
+++ b/drivers/net/cxgbe/cxgbevf_main.c
@@ -245,7 +245,7 @@ allocate_mac:
rte_eth_copy_pci_info(pi->eth_dev, adapter->pdev);
pi->eth_dev->data->mac_addrs = rte_zmalloc(name,
- ETHER_ADDR_LEN, 0);
+ RTE_ETHER_ADDR_LEN, 0);
if (!pi->eth_dev->data->mac_addrs) {
dev_err(adapter, "%s: Mem allocation failed for storing mac addr, aborting\n",
__func__);