From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id BC3D11B526; Tue, 16 Apr 2019 18:46:18 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Apr 2019 09:46:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,358,1549958400"; d="scan'208";a="162433523" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by fmsmga004.fm.intel.com with ESMTP; 16 Apr 2019 09:46:16 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.31]) by IRSMSX102.ger.corp.intel.com ([169.254.2.21]) with mapi id 14.03.0415.000; Tue, 16 Apr 2019 17:46:15 +0100 From: "Ananyev, Konstantin" To: Andrew Rybchenko , "Yigit, Ferruh" , David Christensen , "thomas@monjalon.net" CC: "dev@dpdk.org" , "radhika.chirra@ibm.com" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [dpdk-stable] [PATCH v2] ethdev: missing typecast causes C++ build error Thread-Index: AQHU9HH6ZNVxaDTnXEG0U50tkbzlS6Y+7FWAgAASKbA= Date: Tue, 16 Apr 2019 16:46:14 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772580148A98822@irsmsx105.ger.corp.intel.com> References: <1554927376-93022-1-git-send-email-drc@linux.vnet.ibm.com> <1554932214-96522-1-git-send-email-drc@linux.vnet.ibm.com> <51c69c8b-9b23-4c48-bf70-2f4881ce873b@intel.com> In-Reply-To: Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNmQ2MTIwODYtZWM1NS00MWE4LTg5OTMtYWM4OTA5ODJkMzY2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibjJTNnVWQWxQWXhMWEZTMmhXbFwveDNlSzM2cGdqMnBvMkF4N0RacURzN3paNUloMVRNU1ZIKzF5VmhJakNwakgifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v2] ethdev: missing typecast causes C++ build error 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, 16 Apr 2019 16:46:19 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IFttYWlsdG86ZGV2 LWJvdW5jZXNAZHBkay5vcmddIE9uIEJlaGFsZiBPZiBBbmRyZXcgUnliY2hlbmtvDQo+IFNlbnQ6 IFR1ZXNkYXksIEFwcmlsIDE2LCAyMDE5IDU6NDAgUE0NCj4gVG86IFlpZ2l0LCBGZXJydWggPGZl cnJ1aC55aWdpdEBpbnRlbC5jb20+OyBEYXZpZCBDaHJpc3RlbnNlbiA8ZHJjQGxpbnV4LnZuZXQu aWJtLmNvbT47IHRob21hc0Btb25qYWxvbi5uZXQNCj4gQ2M6IGRldkBkcGRrLm9yZzsgcmFkaGlr YS5jaGlycmFAaWJtLmNvbTsgc3RhYmxlQGR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mUgY29tcGF0aWJsZSBhbmQNCj4gaWRlYWxseSBpdCBzaG91bGQgYmUg Y2hlY2tlZCBieSBidWlsZCBhdXRvbWF0aW9uIChvdGhlcndpc2Ugd2Ugd2lsbCBicmVhaw0KPiBh bmQgZml4IGl0IHByZXR0eSBvZnRlbikuDQoNCk9yIGFzIGFsdGVybmF0aXZlLCB3ZSBwcm9iYWJs eSBjYW4gY2xhaW0gdGhhdCBQTURzIGluIEMrKyBhcmUgbm90IHN1cHBvcnRlZCwNCmFuZCBpZiBw ZW9wbGUgbGlrZSB0byBkbyB0aGF0IC0gdGhleSBoYXZlIHRvIGRlYWwgd2l0aCBpdCBvbiB0aGVp ciBvd24NCihjcmVhdGUgYSBDIHdyYXBwZXIgZmlsZSwgb3Igc28pLg0KS29uc3RhbnRpbg0KDQo= From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 3A30DA00E6 for ; Tue, 16 Apr 2019 18:46:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7C30C1B52B; Tue, 16 Apr 2019 18:46:20 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id BC3D11B526; Tue, 16 Apr 2019 18:46:18 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Apr 2019 09:46:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,358,1549958400"; d="scan'208";a="162433523" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by fmsmga004.fm.intel.com with ESMTP; 16 Apr 2019 09:46:16 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.31]) by IRSMSX102.ger.corp.intel.com ([169.254.2.21]) with mapi id 14.03.0415.000; Tue, 16 Apr 2019 17:46:15 +0100 From: "Ananyev, Konstantin" To: Andrew Rybchenko , "Yigit, Ferruh" , David Christensen , "thomas@monjalon.net" CC: "dev@dpdk.org" , "radhika.chirra@ibm.com" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [dpdk-stable] [PATCH v2] ethdev: missing typecast causes C++ build error Thread-Index: AQHU9HH6ZNVxaDTnXEG0U50tkbzlS6Y+7FWAgAASKbA= Date: Tue, 16 Apr 2019 16:46:14 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772580148A98822@irsmsx105.ger.corp.intel.com> References: <1554927376-93022-1-git-send-email-drc@linux.vnet.ibm.com> <1554932214-96522-1-git-send-email-drc@linux.vnet.ibm.com> <51c69c8b-9b23-4c48-bf70-2f4881ce873b@intel.com> In-Reply-To: Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNmQ2MTIwODYtZWM1NS00MWE4LTg5OTMtYWM4OTA5ODJkMzY2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibjJTNnVWQWxQWXhMWEZTMmhXbFwveDNlSzM2cGdqMnBvMkF4N0RacURzN3paNUloMVRNU1ZIKzF5VmhJakNwakgifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v2] ethdev: missing typecast causes C++ build error 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190416164614.8zkjHkOdcNr4Mlf4ltNtSO2H83cA3HO8f_MFvbhhPRM@z> DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IFttYWlsdG86ZGV2 LWJvdW5jZXNAZHBkay5vcmddIE9uIEJlaGFsZiBPZiBBbmRyZXcgUnliY2hlbmtvDQo+IFNlbnQ6 IFR1ZXNkYXksIEFwcmlsIDE2LCAyMDE5IDU6NDAgUE0NCj4gVG86IFlpZ2l0LCBGZXJydWggPGZl cnJ1aC55aWdpdEBpbnRlbC5jb20+OyBEYXZpZCBDaHJpc3RlbnNlbiA8ZHJjQGxpbnV4LnZuZXQu aWJtLmNvbT47IHRob21hc0Btb25qYWxvbi5uZXQNCj4gQ2M6IGRldkBkcGRrLm9yZzsgcmFkaGlr YS5jaGlycmFAaWJtLmNvbTsgc3RhYmxlQGRwZGsub3JnDQo+IFN1YmplY3Q6IFJlOiBbZHBkay1k ZXZdIFtkcGRrLXN0YWJsZV0gW1BBVENIIHYyXSBldGhkZXY6IG1pc3NpbmcgdHlwZWNhc3QgY2F1 c2VzIEMrKyBidWlsZCBlcnJvcg0KPiANCj4gT24gNC8xNi8xOSA3OjMxIFBNLCBGZXJydWggWWln aXQgd3JvdGU6DQo+ID4gT24gNC8xMC8yMDE5IDEwOjM2IFBNLCBEYXZpZCBDaHJpc3RlbnNlbiB3 cm90ZToNCj4gPj4gVGhlIGZ1bmN0aW9uIGV0aF9kZXZfcGNpX3NwZWNpZmljX2luaXQgaXMgbWlz c2luZyBhIHR5cGVjYXN0IHRvDQo+ID4+IChzdHJ1Y3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