aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-12-14 09:58:21 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-12-16 12:37:24 -0500
commitead00597882c4ee3c534d6880cc3bcb4d412cc4b (patch)
treea836fa3fd80a9895c1b3135133d13f0a070c9c66
parent573c4e1ef53a6b891b73cc2257e1604da754a2e4 (diff)
NFS: Squelch compiler warning in decode_getdeviceinfo()
Clean up. .../linux/nfs-2.6/fs/nfs/nfs4xdr.c: In function ‘decode_getdeviceinfo’: .../linux/nfs-2.6/fs/nfs/nfs4xdr.c:5008: warning: comparison between signed and unsigned integer expressions Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Tested-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r--fs/nfs/nfs4xdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c
index be9f00ab0d18..a15fe99fea86 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -5000,7 +5000,7 @@ static int decode_getdeviceinfo(struct xdr_stream *xdr,
5000 goto out_overflow; 5000 goto out_overflow;
5001 len = be32_to_cpup(p); 5001 len = be32_to_cpup(p);
5002 if (len) { 5002 if (len) {
5003 int i; 5003 uint32_t i;
5004 5004
5005 p = xdr_inline_decode(xdr, 4 * len); 5005 p = xdr_inline_decode(xdr, 4 * len);
5006 if (unlikely(!p)) 5006 if (unlikely(!p))