diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2017-03-06 18:19:39 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-05-02 23:41:42 +0300 |
commit | 9b2bbdb227588455afcc3b03475fa9b0a35d83af (patch) | |
tree | 38ec6fe9fbfafcc7a388da21d7ec42a668111ec1 /net/vmw_vsock | |
parent | 4f6d9bfc882450631251052756ed84658ec88a70 (diff) | |
download | linux-9b2bbdb227588455afcc3b03475fa9b0a35d83af.tar.gz linux-9b2bbdb227588455afcc3b03475fa9b0a35d83af.tar.bz2 linux-9b2bbdb227588455afcc3b03475fa9b0a35d83af.zip |
virtio: wrap find_vqs
We are going to add more parameters to find_vqs, let's wrap the call so
we don't need to tweak all drivers every time.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'net/vmw_vsock')
-rw-r--r-- | net/vmw_vsock/virtio_transport.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/vmw_vsock/virtio_transport.c b/net/vmw_vsock/virtio_transport.c index 68675a151f22..97e26e2955e1 100644 --- a/net/vmw_vsock/virtio_transport.c +++ b/net/vmw_vsock/virtio_transport.c @@ -573,9 +573,9 @@ static int virtio_vsock_probe(struct virtio_device *vdev) vsock->vdev = vdev; - ret = vsock->vdev->config->find_vqs(vsock->vdev, VSOCK_VQ_MAX, - vsock->vqs, callbacks, names, - NULL); + ret = virtio_find_vqs(vsock->vdev, VSOCK_VQ_MAX, + vsock->vqs, callbacks, names, + NULL); if (ret < 0) goto out; |