From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 2B8855F1D for ; Wed, 21 Mar 2018 10:53:15 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Mar 2018 02:53:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,339,1517904000"; d="scan'208";a="213299382" Received: from fyigit-mobl.ger.corp.intel.com (HELO [10.237.221.63]) ([10.237.221.63]) by fmsmga006.fm.intel.com with ESMTP; 21 Mar 2018 02:53:13 -0700 To: Nelio Laranjeiro , Adrien Mazarguil , Yongseok Koh Cc: dev@dpdk.org, orika@mellanox.com References: From: Ferruh Yigit Message-ID: <06b6a081-7810-9e16-1e59-b64e731c7133@intel.com> Date: Wed, 21 Mar 2018 09:53:13 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix ICC compilation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2018 09:53:16 -0000 On 3/19/2018 10:42 AM, Nelio Laranjeiro wrote: > Remove the second declaration of device_attr [1] inside the loop as well as > the query_device_ex() which has already been done outside of the loop. > > Fixes: 9a761de8ea14 ("net/mlx5: flow counter support") > Cc: orika@mellanox.com > > Reported-by: Ferruh Yigit > Signed-off-by: Nelio Laranjeiro Tested-by: Ferruh Yigit