]> err.no Git - linux-2.6/commit
SUNRPC: Fix an unnecessary implicit type cast in rpcrdma_count_chunks()
authorChuck Lever <chuck.lever@oracle.com>
Fri, 26 Oct 2007 17:30:49 +0000 (13:30 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:05:42 +0000 (02:05 -0500)
commitd4b37ff73540ab90bee57b882a10b21e2f97939f
treed14a9bec8726721015ea4e50b2c479730fc75725
parent2a428b2b8fe2c270a5889086ebe3ab914e3ea7d8
SUNRPC: Fix an unnecessary implicit type cast in rpcrdma_count_chunks()

Nit: rl_nchunks is an unsigned integer, so pass it into
rpcrdma_count_chunks() via an unsigned integer argument.  This eliminates
a harmless mixed sign comparison in rpcrdma_count_chunks()

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Cc: Thomas Talpey <Thomas.Talpey@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprtrdma/rpc_rdma.c