]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/core/iovec.c
[NET]: Annotate csum_partial() callers in net/*
[net-next-2.6.git] / net / core / iovec.c
index 65e4b56fbc774cb7b605065f8cac65c7006dbbe4..04b249c40b5b24a12f0e24165621cc182b1ec1c4 100644 (file)
@@ -158,9 +158,9 @@ int memcpy_fromiovecend(unsigned char *kdata, struct iovec *iov, int offset,
  *     call to this function will be unaligned also.
  */
 int csum_partial_copy_fromiovecend(unsigned char *kdata, struct iovec *iov,
-                                int offset, unsigned int len, int *csump)
+                                int offset, unsigned int len, __wsum *csump)
 {
-       int csum = *csump;
+       __wsum csum = *csump;
        int partial_cnt = 0, err = 0;
 
        /* Skip over the finished iovecs */