]> git.baikalelectronics.ru Git - kernel.git/commit
virtio_console: don't tie bufs to a vq
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 20 Apr 2018 16:54:23 +0000 (19:54 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 25 Apr 2018 17:33:13 +0000 (20:33 +0300)
commit2855b33514d290c51d52d94e25d3ef942cd4d578
tree7f68bc994955fa0e0e7fcfa2a349d671f87a9374
parentb40000325044433cd350725e2025214ae48b17fd
virtio_console: don't tie bufs to a vq

an allocated buffer doesn't need to be tied to a vq -
only vq->vdev is ever used. Pass the function the
just what it needs - the vdev.

Cc: stable@vger.kernel.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/char/virtio_console.c