projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adc24df
)
SUNRPC: Fix a signed v. unsigned comparison in net/sunrpc/xprtsock.c
author
Chuck Lever
<chuck.lever@oracle.com>
Mon, 6 Aug 2007 15:56:42 +0000
(11:56 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 9 Oct 2007 21:15:44 +0000
(17:15 -0400)
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprtsock.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/xprtsock.c
b/net/sunrpc/xprtsock.c
index 4ae7eed7f6170b665845344ab95663975c09a38a..56b226797ae38cf9831fe7d7d5251207dfd81507 100644
(file)
--- 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);