]> git.baikalelectronics.ru Git - kernel.git/commit
vringh: fix copy direction of vringh_iov_push_kern()
authorJason Wang <jasowang@redhat.com>
Thu, 24 Oct 2019 03:57:18 +0000 (11:57 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 28 Oct 2019 08:25:04 +0000 (04:25 -0400)
commit36554112ec7fc17aeb2f2d05b6c492bfb5f01416
treefbb7bcc9bbe581c12aab4026e53e685458187af3
parent1a693ef69e92c59429d1e5872f6f883a1cfc4cde
vringh: fix copy direction of vringh_iov_push_kern()

We want to copy from iov to buf, so the direction was wrong.

Note: no real user for the helper, but it will be used by future
features.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vringh.c