diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-11-14 21:36:14 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-02 21:23:32 -0800 |
commit | 44bb93633f57a55979f3c2589b10fd6a2bfc7c08 (patch) | |
tree | 09dff6f9e3c9d21c8d06f3a1ec73609a1942c9da /include | |
parent | 868c86bcb5bdea7ed8d45979b17bb919af9254db (diff) | |
download | op-kernel-dev-44bb93633f57a55979f3c2589b10fd6a2bfc7c08.zip op-kernel-dev-44bb93633f57a55979f3c2589b10fd6a2bfc7c08.tar.gz |
[NET]: Annotate csum_partial() callers in net/*
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/socket.h | 2 | ||||
-rw-r--r-- | include/linux/sunrpc/xdr.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/socket.h b/include/linux/socket.h index 592b666..92cd38e 100644 --- a/include/linux/socket.h +++ b/include/linux/socket.h @@ -293,7 +293,7 @@ extern int memcpy_fromiovecend(unsigned char *kdata, struct iovec *iov, extern int csum_partial_copy_fromiovecend(unsigned char *kdata, struct iovec *iov, int offset, - unsigned int len, int *csump); + unsigned int len, __wsum *csump); extern int verify_iovec(struct msghdr *m, struct iovec *iov, char *address, int mode); extern int memcpy_toiovec(struct iovec *v, unsigned char *kdata, int len); diff --git a/include/linux/sunrpc/xdr.h b/include/linux/sunrpc/xdr.h index ac69e55..9a527c3 100644 --- a/include/linux/sunrpc/xdr.h +++ b/include/linux/sunrpc/xdr.h @@ -151,7 +151,7 @@ typedef struct { struct sk_buff *skb; unsigned int offset; size_t count; - unsigned int csum; + __wsum csum; } skb_reader_t; typedef size_t (*skb_read_actor_t)(skb_reader_t *desc, void *to, size_t len); |