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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Nov 2019 17:26:21 +0000 (18:26 +0100)
commit809ff9a14bdea2c70440f1f4479d29a179ea6682
tree6cf4fcd06e2825d258a18cf6e559b80badbb060f
parent4cad8c2d8f8b50638dc5da357b5f2e42b5860f19
virtio_console: don't tie bufs to a vq

[ Upstream commit 2855b33514d290c51d52d94e25d3ef942cd4d578 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/char/virtio_console.c