From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30084.outbound.protection.outlook.com [40.107.3.84]) by dpdk.org (Postfix) with ESMTP id CF6944F93 for ; Wed, 21 Mar 2018 00:16:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=yBJUir9n+5AvtiiDMhBUX37GlR3IrPNjSo58BE7fbbE=; b=WPJxVmuLUANG1bZGXy3AGLVbpqAH2d3FHAY2K65EgjmvNMhI5EpPCXrkwTWCZXcQMPetyX1ymuU1m8aLJhZwnABIHaaQAtjHxnutmNaCeYVqXIVLxJT6hJH9Unu21+NP2SxvqlCTmhq73Bd8Tgu7i1FdSOIDe3DSP5rx+ndd444= Received: from VI1PR0501MB2045.eurprd05.prod.outlook.com (10.167.195.147) by VI1PR0501MB2750.eurprd05.prod.outlook.com (10.172.11.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.588.14; Tue, 20 Mar 2018 23:16:05 +0000 Received: from VI1PR0501MB2045.eurprd05.prod.outlook.com ([fe80::59c:947c:846:ff92]) by VI1PR0501MB2045.eurprd05.prod.outlook.com ([fe80::59c:947c:846:ff92%13]) with mapi id 15.20.0588.017; Tue, 20 Mar 2018 23:16:05 +0000 From: Yongseok Koh To: =?iso-8859-1?Q?N=E9lio_Laranjeiro?= CC: Adrien Mazarguil , Ferruh Yigit , "dev@dpdk.org" , Ori Kam Thread-Topic: [PATCH] net/mlx5: fix ICC compilation Thread-Index: AQHTv28fm/mMbtFwXkSgPJo6xD0dv6PZw/cA Date: Tue, 20 Mar 2018 23:16:05 +0000 Message-ID: <577C32A1-D06E-4D69-9F5F-5BDA418218F9@mellanox.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; x-originating-ip: [209.116.155.178] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0501MB2750; 7:OINPzhbRYukNF8Jy7cCTeOaVC2l1zn9rgK4djpTiCRmVl0TprZUo6e5p3bzAsoSwn7m64cXnNCowKdtlDntPFnyVXVfnymCU+rD0rZHzngQrVDgCgVx/91DdkC58PMocUOZQ02VA/0TlxwRfwTwQKAGSa9X51Ik9GwKbk4LXjd+nPFnqMAv8VSVQDgMgT8/Q8eJJI+Loxq0g0ET7ANSZdSMBBNqZdRed7CtJisHp/bKaIc/dm5dbNzIaUkTgqrWc x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: f74e5c95-9dd9-4d7d-c6d6-08d58eb88e71 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0501MB2750; x-ms-traffictypediagnostic: VI1PR0501MB2750: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(189930954265078)(45079756050767)(228905959029699)(17755550239193); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3231221)(944501316)(52105095)(3002001)(6055026)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:VI1PR0501MB2750; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0501MB2750; x-forefront-prvs: 061725F016 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(376002)(396003)(366004)(39860400002)(39380400002)(189003)(199004)(53546011)(5660300001)(6506007)(229853002)(102836004)(2906002)(5250100002)(86362001)(25786009)(6116002)(3846002)(6916009)(6246003)(45080400002)(26005)(82746002)(8936002)(2950100002)(97736004)(186003)(99286004)(76176011)(316002)(68736007)(36756003)(106356001)(83716003)(66066001)(6436002)(2900100001)(6306002)(54906003)(33656002)(6512007)(8676002)(7736002)(81156014)(966005)(305945005)(105586002)(53936002)(6486002)(4326008)(81166006)(3660700001)(3280700002)(14454004)(478600001)(107886003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0501MB2750; H:VI1PR0501MB2045.eurprd05.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: QAtJTjGrAPp85XDhs9bgW7cALGzEhHmxbJbNJUYVpOdkNJVP3BozVN7MmQqSpOEfhKVpF2cQ3F1ARwADlL52PBNufgxWV31HL10WqLINcgHzDo1V6kql6GcCSZf8vGn6Zn5hP+Wui0dirL8RpInUNgZazWwOgrsx8qiArvldnhGbg5FakNrKbhHekEnwKuEc8kPx+Tf4vu2yZI8IewF1XSSEXrPDEdnn8tefkpUMIVYqwFj5bItnjmWFdiRmR4wTh30/nuirBaxWYzh7iRMSCNJrkPlwul5oeifVPdYLe7H+MjYzVaawtWuwyHtfwvO4/y4g+QLa1R0AF9IFOSXN2Q== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-ID: <6D73012530E54D46AFC52580201013F9@eurprd05.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: f74e5c95-9dd9-4d7d-c6d6-08d58eb88e71 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Mar 2018 23:16:05.7272 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0501MB2750 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: Tue, 20 Mar 2018 23:16:08 -0000 > On Mar 19, 2018, at 3:42 AM, Nelio Laranjeiro wrote: >=20 > 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. >=20 > Fixes: 9a761de8ea14 ("net/mlx5: flow counter support") > Cc: orika@mellanox.com >=20 > Reported-by: Ferruh Yigit > Signed-off-by: Nelio Laranjeiro >=20 > [1] https://emea01.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2F= dpdk.org%2Fml%2Farchives%2Fdev%2F2018-March%2F091744.html&data=3D02%7C01%7C= yskoh%40mellanox.com%7C3b1029de8c1049ea04a608d58d8640e4%7Ca652971c7d2e4d9ba= 6a4d149256f461b%7C0%7C0%7C636570530118173451&sdata=3D8olD%2BtcSHsXU8FNC82Ll= OdxkStJ8HFklyQWwVgewda4%3D&reserved=3D0 > --- Acked-by: Yongseok Koh =20 Thanks=