summaryrefslogtreecommitdiffstats
path: root/Documentation/iio
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2021-03-15 17:34:39 +0100
committerMichael S. Tsirkin <mst@redhat.com>2021-05-03 10:55:53 +0200
commitbbc2c372a83d74d5499ad21d0ade2b71f5bde620 (patch)
treefbd50a66ee0c0e155dc7a490ae41b6a66cffff6a /Documentation/iio
parentvringh: add 'iotlb_lock' to synchronize iotlb accesses (diff)
downloadlinux-bbc2c372a83d74d5499ad21d0ade2b71f5bde620.tar.xz
linux-bbc2c372a83d74d5499ad21d0ade2b71f5bde620.zip
vringh: reset kiov 'consumed' field in __vringh_iov()
__vringh_iov() overwrites the contents of riov and wiov, in fact it resets the 'i' and 'used' fields, but also the 'consumed' field should be reset to avoid an inconsistent state. Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Link: https://lore.kernel.org/r/20210315163450.254396-4-sgarzare@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'Documentation/iio')
0 files changed, 0 insertions, 0 deletions