[dpdk-dev] [PATCH] ethdev: fix missing parenthesis
Michal Jastrzebski
michalx.k.jastrzebski at intel.com
Fri Jan 9 16:05:25 CET 2015
From: Pawel Wodkowski <pawelx.wodkowski at intel.com>
Signed-off-by: Pawel Wodkowski <pawelx.wodkowski at intel.com>
---
lib/librte_ether/rte_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c
index 4c1a494..d13301a 100644
--- a/lib/librte_ether/rte_ethdev.c
+++ b/lib/librte_ether/rte_ethdev.c
@@ -848,7 +848,7 @@ rte_eth_dev_config_restore(uint8_t port_id)
/* add address to the hardware */
if (*dev->dev_ops->mac_addr_add &&
- dev->data->mac_pool_sel[i] & (1ULL << pool))
+ (dev->data->mac_pool_sel[i] & (1ULL << pool)))
(*dev->dev_ops->mac_addr_add)(dev, &addr, i, pool);
else {
PMD_DEBUG_TRACE("port %d: MAC address array not supported\n",
--
1.7.9.5
More information about the dev
mailing list