Return-Path: Received: from mail-by2nam01on0133.outbound.protection.outlook.com ([104.47.34.133]:55787 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388231AbeGKQnw (ORCPT ); Wed, 11 Jul 2018 12:43:52 -0400 From: Trond Myklebust To: "SteveD@RedHat.com" , "libtirpc-devel@lists.sourceforge.net" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH V4] xdrstdio_create buffers do not output encoded values on ppc Date: Wed, 11 Jul 2018 16:38:40 +0000 Message-ID: <0953d758440850222bab04aaf3822b396bd736c6.camel@hammer.space> References: <20180711152521.8238-1-steved@redhat.com> In-Reply-To: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gV2VkLCAyMDE4LTA3LTExIGF0IDEyOjA1IC0wNDAwLCBTdGV2ZSBEaWNrc29uIHdyb3RlOg0K PiBIZXkgVHJvbmQsDQo+IA0KPiBPbiAwNy8xMS8yMDE4IDExOjI1IEFNLCBTdGV2ZSBEaWNrc29u IHdyb3RlOg0KPiA+IFRoZSBjYXVzZSBpcyB0aGF0IHRoZSB4ZHJfcHV0bG9uZyB1c2VzIGEgbG9u ZyB0byBzdG9yZSB0aGUNCj4gPiBjb252ZXJ0ZWQgdmFsdWUsIHRoZW4gcGFzc2VzIGl0IHRvIGZ3 cml0ZSBhcyBhIGJ5dGUgYnVmZmVyLg0KPiA+IE9ubHkgdGhlIGZpcnN0IDQgYnl0ZXMgYXJlIHdy aXR0ZW4sIHdoaWNoIGlzIG9rYXkgZm9yIGEgTEUNCj4gPiBzeXN0ZW0gYWZ0ZXIgYnl0ZXN3YXBw aW5nLCBidXQgd3JpdGVzIGFsbCB6ZXJvZXMgb24gQkUgc3lzdGVtcy4NCj4gPiANCj4gPiBGaXhl czogaHR0cHM6Ly9idWd6aWxsYS5yZWRoYXQuY29tL3Nob3dfYnVnLmNnaT9pZD0xMjYxNzM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