Message ID | 20200916152634.56917-1-sgarzare@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | vhost-vdpa: fix indentation in vdpa_ops | expand |
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 > >
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)
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 --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, };
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(-)