Return-Path: Received: from mail-by2nam01on0130.outbound.protection.outlook.com ([104.47.34.130]:22528 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933124AbeF2U6q (ORCPT ); Fri, 29 Jun 2018 16:58:46 -0400 From: Trond Myklebust To: "chuck.lever@oracle.com" CC: "steved@redhat.com" , "libtirpc-devel@lists.sourceforge.net" , "linux-nfs@vger.kernel.org" Subject: Re: [PATCH V2] xdrstdio_create buffers do not output encoded values on ppc Date: Fri, 29 Jun 2018 20:58:43 +0000 Message-ID: References: <20180629184256.20532-1-steved@redhat.com> <6ce6dd9fe59250132029e42acd03807a83b2f2d9.camel@hammerspace.com> <0390374D-1328-4D34-9C9F-B9EE7D28113C@oracle.com> In-Reply-To: <0390374D-1328-4D34-9C9F-B9EE7D28113C@oracle.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gRnJpLCAyMDE4LTA2LTI5IGF0IDE2OjQwIC0wNDAwLCBDaHVjayBMZXZlciB3cm90ZToNCj4g PiBPbiBKdW4gMjksIDIwMTgsIGF0IDQ6MTUgUE0sIFRyb25kIE15a2xlYnVzdCA8dHJvbmRteUBo YW1tZXJzcGFjZS5jDQo+ID4gb20+IHdyb3RlOg0KPiA+IA0KPiA+IE9uIEZyaSwgMjAxOC0wNi0y OSBhdCAxNjowMiAtMDQwMCwgQ2h1Y2sgTGV2ZXIgd3JvdGU6DQo+ID4gPiA+IE9uIEp1biAyOSwg MjAxOCwgYXQgMzo0OCBQTSwgVHJvbmQgTXlrbGVidXN0IDx0cm9uZG15QGhhbW1lcnNwYQ0KPiA+ ID4gPiBjZS5jDQo+ID4gPiA+IG9tPiB3cm90ZToNCj4gPiA+ID4gDQo+ID4gPiA+IE9uIEZyaSwg MjAxOC0wNi0yOSBhdCAxNTozMyAtMDQwMCwgQ2h1Y2sgTGV2ZXIgd3JvdGU6DQo+ID4gPi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