From: Chuck Lever Date: Mon, 6 Aug 2007 15:56:42 +0000 (-0400) Subject: SUNRPC: Fix a signed v. unsigned comparison in net/sunrpc/xprtsock.c X-Git-Tag: v2.6.24-rc1~1285^2~117 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b595bb15061567441546be1af883b256bcdfff9c;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git SUNRPC: Fix a signed v. unsigned comparison in net/sunrpc/xprtsock.c Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust --- diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index 4ae7eed..56b2267 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c @@ -523,7 +523,8 @@ static int xs_tcp_send_request(struct rpc_task *task) struct rpc_xprt *xprt = req->rq_xprt; struct sock_xprt *transport = container_of(xprt, struct sock_xprt, xprt); struct xdr_buf *xdr = &req->rq_snd_buf; - int status, retry = 0; + int status; + unsigned int retry = 0; xs_encode_tcp_record_marker(&req->rq_snd_buf);