aboutsummaryrefslogtreecommitdiff
path: root/iov.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-10-04 19:50:33 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2012-10-04 19:50:33 -0500
commit6929cf11bb8ec5ff9f9e76c870c513204854a1eb (patch)
tree8514562aa6181fd29f559f804244dc48615cf280 /iov.c
parent938406dfb11d8a40d9228b3596d49a583d7218ff (diff)
parentad3005ad8c70a69705149d3ce6d1e51fb76edb15 (diff)
Merge remote-tracking branch 'mst/tags/for_anthony' into staging
* mst/tags/for_anthony: virtio-serial-bus: let chardev know the exact number of bytes requested virtio: Introduce virtqueue_get_avail_bytes() virtio: use unsigned int for counting bytes in vq iov: add const annotation virtio-net: fix used len for tx virtio: don't mark unaccessed memory as dirty
Diffstat (limited to 'iov.c')
-rw-r--r--iov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iov.c b/iov.c
index 60705c73ab..c6a66f0afe 100644
--- a/iov.c
+++ b/iov.c
@@ -26,7 +26,7 @@
# include <sys/socket.h>
#endif
-size_t iov_from_buf(struct iovec *iov, unsigned int iov_cnt,
+size_t iov_from_buf(const struct iovec *iov, unsigned int iov_cnt,
size_t offset, const void *buf, size_t bytes)
{
size_t done;