From patchwork Wed Nov 17 18:00:55 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever III X-Patchwork-Id: 333761 X-Patchwork-Delegate: Trond.Myklebust@netapp.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oAHI10nP000517 for ; Wed, 17 Nov 2010 18:01:01 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935215Ab0KQSA6 (ORCPT ); Wed, 17 Nov 2010 13:00:58 -0500 Received: from mail-iw0-f174.google.com ([209.85.214.174]:52633 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935214Ab0KQSA6 (ORCPT ); Wed, 17 Nov 2010 13:00:58 -0500 Received: by mail-iw0-f174.google.com with SMTP id 35so2387538iwn.19 for ; Wed, 17 Nov 2010 10:00:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:subject:to:cc :date:message-id:in-reply-to:references:user-agent:mime-version :content-type:content-transfer-encoding; bh=z9JV+4Qi98KrSkSpFN5Qtozn7wpHYQ/qrUU6DV2W1KU=; b=sxMaTBqxY2XeApQKt8ObGAGU5EOQ36KGmRrsenygFlZx+hnMsgevat1q0Uh8GHby1B NO6lHOx0kU4dYPrTIEHI5F9cbsCJgyANTnOSiZ43PASxYCOhDE4kSUPgh97EntwgVYMD FdsSnvN6aINmX4Vn/PLjlLDpRyd4L8tP0lNk8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:subject:to:cc:date:message-id:in-reply-to:references :user-agent:mime-version:content-type:content-transfer-encoding; b=uA24MFcYCn216vIHLV8uFpvGqZGdwkJiLrvoJHG/iZ4yFAgr/gtW1ZE12cKxnyCUFX MTMhu3sbOiz6lWzpgBThT1qYdXPKNXjsx3UQM8wsWFpXVw2a5DmXiRGNV8GJJ8pdvVqS oVmpiwNA48/HiBoUiHrX/ZV7puRpPrAaDYW68= Received: by 10.231.14.69 with SMTP id f5mr7277659iba.116.1290016857588; Wed, 17 Nov 2010 10:00:57 -0800 (PST) Received: from matisse.1015granger.net (adsl-99-26-161-222.dsl.sfldmi.sbcglobal.net [99.26.161.222]) by mx.google.com with ESMTPS id 34sm2429328ibi.2.2010.11.17.10.00.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Nov 2010 10:00:56 -0800 (PST) From: Chuck Lever Subject: [PATCH 07/12] NFS: Squelch compiler warning in decode_getdeviceinfo() To: trond.myklebust@netapp.com Cc: linux-nfs@vger.kernel.org Date: Wed, 17 Nov 2010 13:00:55 -0500 Message-ID: <20101117180054.29429.21780.stgit@matisse.1015granger.net> In-Reply-To: <20101117175317.29429.90956.stgit@matisse.1015granger.net> References: <20101117175317.29429.90956.stgit@matisse.1015granger.net> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 17 Nov 2010 18:01:01 +0000 (UTC) diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c index f77b08d..1daff25 100644 --- a/fs/nfs/nfs4xdr.c +++ b/fs/nfs/nfs4xdr.c @@ -5000,7 +5000,7 @@ static int decode_getdeviceinfo(struct xdr_stream *xdr, goto out_overflow; len = be32_to_cpup(p); if (len) { - int i; + uint32_t i; p = xdr_inline_decode(xdr, 4 * len); if (unlikely(!p))