diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2017-03-06 19:19:39 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-05-02 23:41:42 +0300 |
commit | 9b2bbdb227588455afcc3b03475fa9b0a35d83af (patch) | |
tree | 38ec6fe9fbfafcc7a388da21d7ec42a668111ec1 /drivers/crypto | |
parent | 4f6d9bfc882450631251052756ed84658ec88a70 (diff) | |
download | linux-9b2bbdb227588455afcc3b03475fa9b0a35d83af.tar.xz |
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 'drivers/crypto')
-rw-r--r-- | drivers/crypto/virtio/virtio_crypto_core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/crypto/virtio/virtio_crypto_core.c b/drivers/crypto/virtio/virtio_crypto_core.c index 21472e427f6f..a111cd72797b 100644 --- a/drivers/crypto/virtio/virtio_crypto_core.c +++ b/drivers/crypto/virtio/virtio_crypto_core.c @@ -119,8 +119,7 @@ static int virtcrypto_find_vqs(struct virtio_crypto *vi) names[i] = vi->data_vq[i].name; } - ret = vi->vdev->config->find_vqs(vi->vdev, total_vqs, vqs, callbacks, - names, NULL); + ret = virtio_find_vqs(vi->vdev, total_vqs, vqs, callbacks, names, NULL); if (ret) goto err_find; |