]> 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)
commit268be8c82791120182bcd1534321960db217f934
tree7f68bc994955fa0e0e7fcfa2a349d671f87a9374
parent0cbfabd2e3109950042568a37c08f61ca8321bf2
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