mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
[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>
This commit is contained in:
parent
868c86bcb5
commit
44bb93633f
6 changed files with 11 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue