projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d40a8a
)
SUNRPC: temp var should match return type of xdr_skb_read_actor
author
Chuck Lever
<chuck.lever@oracle.com>
Fri, 26 Oct 2007 17:30:59 +0000
(13:30 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:05:43 +0000
(
02:05
-0500)
The return type of xdr_skb_read_actor functions is size_t. This fixes a
nit I unwittingly overlooked in commit
dd456471
.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/socklib.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sunrpc/socklib.c
b/net/sunrpc/socklib.c
index 97ac45f034d6f35155537adc7face2cd47791a80..a661a3acb37e682dba442b98ec1c9729a75f7f5f 100644
(file)
--- 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
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) {