From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 7F730594E for ; Fri, 9 Jan 2015 16:05:59 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 09 Jan 2015 07:02:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,731,1413270000"; d="scan'208";a="667149582" Received: from unknown (HELO Sent) ([10.217.248.81]) by orsmga002.jf.intel.com with SMTP; 09 Jan 2015 07:05:56 -0800 Received: by Sent (sSMTP sendmail emulation); Fri, 09 Jan 2015 16:05:34 +0200 From: Michal Jastrzebski To: dev@dpdk.org Date: Fri, 9 Jan 2015 16:05:25 +0100 Message-Id: <1420815925-7988-1-git-send-email-michalx.k.jastrzebski@intel.com> X-Mailer: git-send-email 2.1.1 Subject: [dpdk-dev] [PATCH] ethdev: fix missing parenthesis X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2015 15:06:00 -0000 From: Pawel Wodkowski Signed-off-by: Pawel Wodkowski --- 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