diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/socklib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/socklib.c b/net/sunrpc/socklib.c index 97ac45f034d6..a661a3acb37e 100644 --- a/net/sunrpc/socklib.c +++ b/net/sunrpc/socklib.c | |||
@@ -72,7 +72,7 @@ ssize_t xdr_partial_copy_from_skb(struct xdr_buf *xdr, unsigned int base, struct | |||
72 | struct page **ppage = xdr->pages; | 72 | struct page **ppage = xdr->pages; |
73 | unsigned int len, pglen = xdr->page_len; | 73 | unsigned int len, pglen = xdr->page_len; |
74 | ssize_t copied = 0; | 74 | ssize_t copied = 0; |
75 | int ret; | 75 | size_t ret; |
76 | 76 | ||
77 | len = xdr->head[0].iov_len; | 77 | len = xdr->head[0].iov_len; |
78 | if (base < len) { | 78 | if (base < len) { |