projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NET]: Annotate callers of csum_fold() in net/*
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
net
/
sunrpc
/
socklib.c
diff --git
a/net/sunrpc/socklib.c
b/net/sunrpc/socklib.c
index 6f17527b9e695684038b2824443e2ab6a80a550e..61a038fc30cffef93b4042b003d44b047d613d8f 100644
(file)
--- a/
net/sunrpc/socklib.c
+++ b/
net/sunrpc/socklib.c
@@
-166,7
+166,7
@@
int csum_partial_copy_to_xdr(struct xdr_buf *xdr, struct sk_buff *skb)
}
if (desc.count)
return -1;
- if (
(unsigned short)
csum_fold(desc.csum))
+ if (csum_fold(desc.csum))
return -1;
if (unlikely(skb->ip_summed == CHECKSUM_COMPLETE))
netdev_rx_csum_fault(skb->dev);