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 A0A56B511 for ; Sun, 15 Feb 2015 02:32:34 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 14 Feb 2015 17:32:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,578,1418112000"; d="scan'208";a="454779290" Received: from pgsmsx104.gar.corp.intel.com ([10.221.44.91]) by FMSMGA003.fm.intel.com with ESMTP; 14 Feb 2015 17:17:40 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by PGSMSX104.gar.corp.intel.com (10.221.44.91) with Microsoft SMTP Server (TLS) id 14.3.195.1; Sun, 15 Feb 2015 09:32:30 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.62]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.192]) with mapi id 14.03.0195.001; Sun, 15 Feb 2015 09:32:29 +0800 From: "Liang, Cunming" To: Neil Horman , Olivier MATZ Thread-Topic: [dpdk-dev] [PATCH v6 04/19] eal: fix wrong strnlen() return value in 32bit icc Thread-Index: AQHQRy3RPrK6qfAI4UGtAxOHCcgDApzuE1QAgAAEhACAAEArAIAClxGA Date: Sun, 15 Feb 2015 01:32:28 +0000 Message-ID: References: <1423728996-3004-1-git-send-email-cunming.liang@intel.com> <1423791501-1555-1-git-send-email-cunming.liang@intel.com> <1423791501-1555-5-git-send-email-cunming.liang@intel.com> <20150213134933.GA13495@neilslaptop.think-freely.org> <54DE04B8.6080708@6wind.com> <20150213175523.GA17402@neilslaptop.think-freely.org> In-Reply-To: <20150213175523.GA17402@neilslaptop.think-freely.org> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v6 04/19] eal: fix wrong strnlen() return value in 32bit icc 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: Sun, 15 Feb 2015 01:32:35 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTmVpbCBIb3JtYW4gW21h aWx0bzpuaG9ybWFuQHR1eGRyaXZlci5jb21dDQo+IFNlbnQ6IFNhdHVyZGF5LCBGZWJydWFyeSAx NCwgMjAxNSAxOjU1IEFNDQo+IFRvOiBPbGl2aWVyIE1BVFoNCj4gQ2M6IExpYW5nLCBDdW5taW5n OyBkZXZAZHBkay5vcmcNCj4gU3ViamVjdDogUmU6IFtkcGRrLWRldl0gW1BBVENIIHY2IDA0LzE5 XSBlYWw6IGZpeCB3cm9uZyBzdHJubGVuKCkgcmV0dXJuIHZhbHVlIGluDQo+IDMyYml0IGljYw0K PiANCj4gT24gRnJpLCBGZWIgMTMsIDIwMTUgYXQgMDM6MDU6NDRQTSArMDEwMCwgT2xpdmllciBN QVRaIHdyb3RlOg0KPiA+IEhpIE5laWwsDQo+ID4NCj4gPiBPbiAwMi8xMy8yMDE1IDAyOjQ5IFBN LCBOZWlsIEhvcm1hbiB3cm90ZToNCj4gPiA+IE9uIEZyaSwgRmViIDEzLCAyMDE1IGF0IDA5OjM4 OjA2QU0gKzA4MDAsIEN1bm1pbmcgTGlhbmcgd3JvdGU6DQo+ID4gPj4gVGhlIHByb2JsZW0gaXMg dGhhdCBzdHJubGVuKCkgaGVyZSBtYXkgcmV0dXJuIGludmFsaWQgdmFsdWUgd2l0aCAzMmJpdCBp Y2MuDQo+ID4gPj4gKGFjdHVhbGx5IGl0IHJldHVybnMgaXTigJlzIHNlY29uZCBwYXJhbWV0ZXIs ZS5nOiBzeXNjb25mKF9TQ19BUkd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