[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210723054259.2779-1-xianting.tian@linux.alibaba.com>
Date: Fri, 23 Jul 2021 13:42:59 +0800
From: Xianting Tian <xianting.tian@...ux.alibaba.com>
To: mst@...hat.com, david@...hat.com, jasowang@...hat.com
Cc: virtualization@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org,
Xianting Tian <xianting.tian@...ux.alibaba.com>
Subject: [PATCH v2] virtio-balloon: Use virtio_find_vqs() helper
Use the helper virtio_find_vqs().
Signed-off-by: Xianting Tian <xianting.tian@...ux.alibaba.com>
Reviewed-by: David Hildenbrand <david@...hat.com>
Acked-by: Jason Wang <jasowang@...hat.com>
---
drivers/virtio/virtio_balloon.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
index 47dce91f7..c22ff0117 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;
--
2.17.1
Powered by blists - more mailing lists