[PATCH v3] hw/virtio/vhost: Fix typo in comment.

lagarcia@linux.ibm.com posted 1 patch 2 years, 4 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/a10a0ddab65b474ebea1e1141abe0f4aa463909b.1637668012.git.lagarcia@br.ibm.com
hw/virtio/vhost.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH v3] hw/virtio/vhost: Fix typo in comment.
Posted by lagarcia@linux.ibm.com 2 years, 4 months ago
From: Leonardo Garcia <lagarcia@br.ibm.com>

Signed-off-by: Leonardo Garcia <lagarcia@br.ibm.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 hw/virtio/vhost.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c
index 437347ad01..20913cf8fb 100644
--- a/hw/virtio/vhost.c
+++ b/hw/virtio/vhost.c
@@ -313,7 +313,7 @@ static int vhost_dev_has_iommu(struct vhost_dev *dev)
      * For vhost, VIRTIO_F_IOMMU_PLATFORM means the backend support
      * incremental memory mapping API via IOTLB API. For platform that
      * does not have IOMMU, there's no need to enable this feature
-     * which may cause unnecessary IOTLB miss/update trnasactions.
+     * which may cause unnecessary IOTLB miss/update transactions.
      */
     return virtio_bus_device_iommu_enabled(vdev) &&
            virtio_host_has_feature(vdev, VIRTIO_F_IOMMU_PLATFORM);
-- 
2.33.1


Re: [PATCH v3] hw/virtio/vhost: Fix typo in comment.
Posted by Laurent Vivier 2 years, 3 months ago
Le 23/11/2021 à 12:48, lagarcia@linux.ibm.com a écrit :
> From: Leonardo Garcia <lagarcia@br.ibm.com>
> 
> Signed-off-by: Leonardo Garcia <lagarcia@br.ibm.com>
> Reviewed-by: Laurent Vivier <laurent@vivier.eu>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
>   hw/virtio/vhost.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c
> index 437347ad01..20913cf8fb 100644
> --- a/hw/virtio/vhost.c
> +++ b/hw/virtio/vhost.c
> @@ -313,7 +313,7 @@ static int vhost_dev_has_iommu(struct vhost_dev *dev)
>        * For vhost, VIRTIO_F_IOMMU_PLATFORM means the backend support
>        * incremental memory mapping API via IOTLB API. For platform that
>        * does not have IOMMU, there's no need to enable this feature
> -     * which may cause unnecessary IOTLB miss/update trnasactions.
> +     * which may cause unnecessary IOTLB miss/update transactions.
>        */
>       return virtio_bus_device_iommu_enabled(vdev) &&
>              virtio_host_has_feature(vdev, VIRTIO_F_IOMMU_PLATFORM);
> 

Applied to my trivial-patches branch.

Thanks,
Laurent