virtio_ring: fix description of virtqueue_get_buf
authorFelipe Franciosi <felipe@nutanix.com>
Mon, 14 Nov 2016 14:16:15 +0000 (06:16 -0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 15 Dec 2016 22:13:38 +0000 (00:13 +0200)
commit0c7eaf5930e145b9f1a0121bd5813a05b0fc77f2
treefc9c8a484088dc9d8c4589e19ab1f8c2c235ef96
parentb9fd06d0dae38a88efa4b770dfa9db7dcbe3cda9
virtio_ring: fix description of virtqueue_get_buf

The device (not the driver) populates the used ring and includes the len
of how much data was written.

Signed-off-by: Felipe Franciosi <felipe@nutanix.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_ring.c