Skip to contentSkip to conversation

SUNRPC: Fix signage nit

PATCH In review Chuck Lever 1 participant 1 message May 25, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 10/10 SUNRPC: Fix signage nit

Minor signage comparison warning clean up.

---

 net/sunrpc/xprtsock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/sunrpc/xprtsock.c +1 -1
index f44c04d..8cb9ea0 100644
@@ -856,7 +856,7 @@ static inline void xs_tcp_read_request(struct rpc_xprt *xprt, struct xdr_skb_rea
 		transport->tcp_copied += r;
 		transport->tcp_offset += r;
 	}
-	if (r != len) {
+	if (r != (ssize_t) len) {
 		/* Error when copying to the receive buffer,
 		 * usually because we weren't able to allocate
 		 * additional buffer pages. All we can do now

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs