Skip to content

Commit 322e2ef

Browse files
chuckleverTrond Myklebust
authored andcommitted
SUNRPC: temp var should match return type of xdr_skb_read_actor
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>
1 parent 5d40a8a commit 322e2ef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎net/sunrpc/socklib.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ ssize_t xdr_partial_copy_from_skb(struct xdr_buf *xdr, unsigned int base, struct
7272
struct page **ppage = xdr->pages;
7373
unsigned int len, pglen = xdr->page_len;
7474
ssize_t copied = 0;
75-
int ret;
75+
size_t ret;
7676

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

0 commit comments

Comments
 (0)