Skip to content

Commit

Permalink
SUNRPC: temp var should match return type of xdr_skb_read_actor
Browse files Browse the repository at this point in the history
The return type of xdr_skb_read_actor functions is size_t.  This fixes a
nit I unwittingly overlooked in commit dd45647.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
  • Loading branch information
chucklever authored and Trond Myklebust committed Jan 30, 2008
1 parent 5d40a8a commit 322e2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sunrpc/socklib.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ ssize_t xdr_partial_copy_from_skb(struct xdr_buf *xdr, unsigned int base, struct
struct page **ppage = xdr->pages;
unsigned int len, pglen = xdr->page_len;
ssize_t copied = 0;
int ret;
size_t ret;

len = xdr->head[0].iov_len;
if (base < len) {
Expand Down

0 comments on commit 322e2ef

Please sign in to comment.