]> err.no Git - linux-2.6/commit
SUNRPC: fix a signed v. unsigned comparison nit in rpc_bind_new_program
authorChuck Lever <chuck.lever@oracle.com>
Tue, 11 Sep 2007 22:00:09 +0000 (18:00 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 9 Oct 2007 21:16:37 +0000 (17:16 -0400)
commit89eb21c35b61b5157940e1b78c2c6d0529d11c63
treed276c10faa1370ab09ce711f87fe299a24995b03
parent5d34da3af923e0f950a89f160540d2506ca046ce
SUNRPC: fix a signed v. unsigned comparison nit in rpc_bind_new_program

/home/cel/linux/net/sunrpc/clnt.c: In function ‘rpc_bind_new_program’:
/home/cel/linux/net/sunrpc/clnt.c:445: warning:
comparison between signed and unsigned

RPC version numbers are u32, not int.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/clnt.h
net/sunrpc/clnt.c