Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx2.netapp.com ([216.240.18.37]:3578 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755903Ab2CLPTv (ORCPT ); Mon, 12 Mar 2012 11:19:51 -0400 Received: from vmwexceht04-prd.hq.netapp.com (vmwexceht04-prd.hq.netapp.com [10.106.77.34]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q2CFJor3022450 for ; Mon, 12 Mar 2012 08:19:50 -0700 (PDT) From: "Myklebust, Trond" To: "Schumaker, Bryan" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH] NFS: Fix a number of sparse warnings Date: Mon, 12 Mar 2012 15:19:49 +0000 Message-ID: <1331565589.8219.19.camel@lade.trondhjem.org> References: <1331487939-12415-1-git-send-email-Trond.Myklebust@netapp.com> <4F5E1372.4010809@netapp.com> In-Reply-To: <4F5E1372.4010809@netapp.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gTW9uLCAyMDEyLTAzLTEyIGF0IDExOjE3IC0wNDAwLCBCcnlhbiBTY2h1bWFrZXIgd3JvdGU6 DQo+IE9uIDAzLzExLzIwMTIgMDE6NDUgUE0sIFRyb25kIE15a2xlYnVzdCB3cm90ZToNCj4gDQo+ ID4gRml4IGEgbnVtYmVyIG9mICJ3YXJuaW5nOiBzeW1ib2wgJ2Zvbycgd2FzIG5vdCBkZWNsYXJl ZC4gU2hvdWxkIGl0IGJlDQo+ID4gc3RhdGljPyIgY29uZGl0aW9ucy4NCj4gPiANCj4gPiBmcy9u ZnMvZGVsZWdhdGlvbi5jOjI2MzozMTogd2FybmluZzogcmVzdHJpY3RlZCBmbW9kZV90IGRlZ3Jh ZGVzIHRvIGludGVnZXINCj4gPiAgIC0gV2Ugd2FudCB0byBhbGxvdyB1cGdyYWRlcyB0byBhIFdS SVRFIGRlbGVnYXRpb24sIGJ1dC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