projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
729ce5a
)
virtio-balloon: Use virtio_find_vqs() helper
author
Xianting Tian
<xianting.tian@linux.alibaba.com>
Fri, 23 Jul 2021 05:42:59 +0000
(13:42 +0800)
committer
Michael S. Tsirkin
<mst@redhat.com>
Mon, 6 Sep 2021 11:20:56 +0000
(07:20 -0400)
Use the helper virtio_find_vqs().
Signed-off-by: Xianting Tian <xianting.tian@linux.alibaba.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Link:
https://lore.kernel.org/r/20210723054259.2779-1-xianting.tian@linux.alibaba.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_balloon.c
patch
|
blob
|
history
diff --git
a/drivers/virtio/virtio_balloon.c
b/drivers/virtio/virtio_balloon.c
index
47dce91
..
c22ff01
100644
(file)
--- 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 = v
b->vdev->config->find_vqs(vb->vdev, VIRTIO_BALLOON_VQ_MAX
,
-
vqs, callbacks, names, NULL
, NULL);
+ err = v
irtio_find_vqs(vb->vdev, VIRTIO_BALLOON_VQ_MAX, vqs
,
+
callbacks, names
, NULL);
if (err)
return err;