]> 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)
commit5ff554ff9a3f67a2171c089204b648c90a8ea79e
tree7f68bc994955fa0e0e7fcfa2a349d671f87a9374
parentc0059d2fe08a3e51face79efd27697b43eb8e74f
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