aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXianting Tian <[email protected]>2021-07-23 13:42:59 +0800
committerMichael S. Tsirkin <[email protected]>2021-09-06 07:20:56 -0400
commit81a83d7f4cfcb255c040df09ce83249fabf8733a (patch)
tree3dd0c1b039b76378ecefdb299088d9573a9c2bb8
parent729ce5a5bd6fda5eb2322a39db2287f1f26f92f3 (diff)
virtio-balloon: Use virtio_find_vqs() helper
Use the helper virtio_find_vqs(). Signed-off-by: Xianting Tian <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Acked-by: Jason Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]>
-rw-r--r--drivers/virtio/virtio_balloon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
index 47dce91f788c..c22ff0117b46 100644
--- a/drivers/virtio/virtio_balloon.c
+++ b/drivers/virtio/virtio_balloon.c
@@ -531,8 +531,8 @@ static int init_vqs(struct virtio_balloon *vb)
callbacks[VIRTIO_BALLOON_VQ_REPORTING] = balloon_ack;
}
- err = vb->vdev->config->find_vqs(vb->vdev, VIRTIO_BALLOON_VQ_MAX,
- vqs, callbacks, names, NULL, NULL);
+ err = virtio_find_vqs(vb->vdev, VIRTIO_BALLOON_VQ_MAX, vqs,
+ callbacks, names, NULL);
if (err)
return err;