[PATCH] vhost-vdpa: fix typo in a comment

Stefano Garzarella posted 1 patch 3 years, 10 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220328152022.73245-1-sgarzare@redhat.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>
hw/virtio/vhost-vdpa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] vhost-vdpa: fix typo in a comment
Posted by Stefano Garzarella 3 years, 10 months ago
Replace vpda with vdpa.

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

diff --git a/hw/virtio/vhost-vdpa.c b/hw/virtio/vhost-vdpa.c
index c5ed7a3779..8adf7c0b92 100644
--- a/hw/virtio/vhost-vdpa.c
+++ b/hw/virtio/vhost-vdpa.c
@@ -299,7 +299,7 @@ static void vhost_vdpa_listener_region_del(MemoryListener *listener,
     memory_region_unref(section->mr);
 }
 /*
- * IOTLB API is used by vhost-vpda which requires incremental updating
+ * IOTLB API is used by vhost-vdpa which requires incremental updating
  * of the mapping. So we can not use generic vhost memory listener which
  * depends on the addnop().
  */
-- 
2.35.1
Re: [PATCH] vhost-vdpa: fix typo in a comment
Posted by Laurent Vivier 3 years, 10 months ago
Le 28/03/2022 à 17:20, Stefano Garzarella a écrit :
> Replace vpda with vdpa.
> 
> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
> ---
>   hw/virtio/vhost-vdpa.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/virtio/vhost-vdpa.c b/hw/virtio/vhost-vdpa.c
> index c5ed7a3779..8adf7c0b92 100644
> --- a/hw/virtio/vhost-vdpa.c
> +++ b/hw/virtio/vhost-vdpa.c
> @@ -299,7 +299,7 @@ static void vhost_vdpa_listener_region_del(MemoryListener *listener,
>       memory_region_unref(section->mr);
>   }
>   /*
> - * IOTLB API is used by vhost-vpda which requires incremental updating
> + * IOTLB API is used by vhost-vdpa which requires incremental updating
>    * of the mapping. So we can not use generic vhost memory listener which
>    * depends on the addnop().
>    */

Applied to my trivial-patches branch.

Thanks,
Laurent


Re: [PATCH] vhost-vdpa: fix typo in a comment
Posted by Philippe Mathieu-Daudé 3 years, 10 months ago
On 28/3/22 17:20, Stefano Garzarella wrote:
> Replace vpda with vdpa.
> 
> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
> ---
>   hw/virtio/vhost-vdpa.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>