diff mbox series

vhost-vdpa: fix indentation in vdpa_ops

Message ID 20200916152634.56917-1-sgarzare@redhat.com
State New
Headers show
Series vhost-vdpa: fix indentation in vdpa_ops | expand

Commit Message

Stefano Garzarella Sept. 16, 2020, 3:26 p.m. UTC
This patch fixes wrong indentation of some vdpa_ops fields introduced
with the initial commit 108a64818e ("vhost-vdpa: introduce vhost-vdpa
backend")

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
---
 hw/virtio/vhost-vdpa.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Li Qiang Sept. 16, 2020, 3:40 p.m. UTC | #1
Stefano Garzarella <sgarzare@redhat.com> 于2020年9月16日周三 下午11:27写道:
>
> This patch fixes wrong indentation of some vdpa_ops fields introduced
> with the initial commit 108a64818e ("vhost-vdpa: introduce vhost-vdpa
> backend")
>
> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>

Reviewed-by: Li Qiang <liq3ea@gmail.com>

> ---
>  hw/virtio/vhost-vdpa.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/hw/virtio/vhost-vdpa.c b/hw/virtio/vhost-vdpa.c
> index 4580f3efd8..e123837a55 100644
> --- a/hw/virtio/vhost-vdpa.c
> +++ b/hw/virtio/vhost-vdpa.c
> @@ -469,6 +469,6 @@ const VhostOps vdpa_ops = {
>          .vhost_send_device_iotlb_msg = NULL,
>          .vhost_dev_start = vhost_vdpa_dev_start,
>          .vhost_get_device_id = vhost_vdpa_get_device_id,
> -         .vhost_vq_get_addr = vhost_vdpa_vq_get_addr,
> -         .vhost_force_iommu = vhost_vdpa_force_iommu,
> +        .vhost_vq_get_addr = vhost_vdpa_vq_get_addr,
> +        .vhost_force_iommu = vhost_vdpa_force_iommu,
>  };
> --
> 2.26.2
>
>
Laurent Vivier Sept. 16, 2020, 3:48 p.m. UTC | #2
Le 16/09/2020 à 17:26, Stefano Garzarella a écrit :
> This patch fixes wrong indentation of some vdpa_ops fields introduced
> with the initial commit 108a64818e ("vhost-vdpa: introduce vhost-vdpa
> backend")
> 
> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
> ---
>  hw/virtio/vhost-vdpa.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/hw/virtio/vhost-vdpa.c b/hw/virtio/vhost-vdpa.c
> index 4580f3efd8..e123837a55 100644
> --- a/hw/virtio/vhost-vdpa.c
> +++ b/hw/virtio/vhost-vdpa.c
> @@ -469,6 +469,6 @@ const VhostOps vdpa_ops = {
>          .vhost_send_device_iotlb_msg = NULL,
>          .vhost_dev_start = vhost_vdpa_dev_start,
>          .vhost_get_device_id = vhost_vdpa_get_device_id,
> -         .vhost_vq_get_addr = vhost_vdpa_vq_get_addr,
> -         .vhost_force_iommu = vhost_vdpa_force_iommu,
> +        .vhost_vq_get_addr = vhost_vdpa_vq_get_addr,
> +        .vhost_force_iommu = vhost_vdpa_force_iommu,
>  };
> 

Reviewed-by: Laurent Vivier <laurent@vivier.eu>

CC: Jason (he already has a cleanup series for vDPA)
Laurent Vivier Sept. 23, 2020, 5:06 p.m. UTC | #3
Le 16/09/2020 à 17:48, Laurent Vivier a écrit :
> Le 16/09/2020 à 17:26, Stefano Garzarella a écrit :
>> This patch fixes wrong indentation of some vdpa_ops fields introduced
>> with the initial commit 108a64818e ("vhost-vdpa: introduce vhost-vdpa
>> backend")
>>
>> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
>> ---
>>  hw/virtio/vhost-vdpa.c | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/hw/virtio/vhost-vdpa.c b/hw/virtio/vhost-vdpa.c
>> index 4580f3efd8..e123837a55 100644
>> --- a/hw/virtio/vhost-vdpa.c
>> +++ b/hw/virtio/vhost-vdpa.c
>> @@ -469,6 +469,6 @@ const VhostOps vdpa_ops = {
>>          .vhost_send_device_iotlb_msg = NULL,
>>          .vhost_dev_start = vhost_vdpa_dev_start,
>>          .vhost_get_device_id = vhost_vdpa_get_device_id,
>> -         .vhost_vq_get_addr = vhost_vdpa_vq_get_addr,
>> -         .vhost_force_iommu = vhost_vdpa_force_iommu,
>> +        .vhost_vq_get_addr = vhost_vdpa_vq_get_addr,
>> +        .vhost_force_iommu = vhost_vdpa_force_iommu,
>>  };
>>
> 
> Reviewed-by: Laurent Vivier <laurent@vivier.eu>
> 
> CC: Jason (he already has a cleanup series for vDPA)
> 


Applied to my trivial-patches branch.

Thanks,
Laurent
diff mbox series

Patch

diff --git a/hw/virtio/vhost-vdpa.c b/hw/virtio/vhost-vdpa.c
index 4580f3efd8..e123837a55 100644
--- a/hw/virtio/vhost-vdpa.c
+++ b/hw/virtio/vhost-vdpa.c
@@ -469,6 +469,6 @@  const VhostOps vdpa_ops = {
         .vhost_send_device_iotlb_msg = NULL,
         .vhost_dev_start = vhost_vdpa_dev_start,
         .vhost_get_device_id = vhost_vdpa_get_device_id,
-         .vhost_vq_get_addr = vhost_vdpa_vq_get_addr,
-         .vhost_force_iommu = vhost_vdpa_force_iommu,
+        .vhost_vq_get_addr = vhost_vdpa_vq_get_addr,
+        .vhost_force_iommu = vhost_vdpa_force_iommu,
 };