[PATCH] vfio/nvgrace-gpu: fix grammatical error

Morduan Zang posted 1 patch 1 month, 3 weeks ago
drivers/vfio/pci/nvgrace-gpu/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] vfio/nvgrace-gpu: fix grammatical error
Posted by Morduan Zang 1 month, 3 weeks ago
The word "as" in the comment should be replaced with "is",
and there is an extra space in the comment.

Signed-off-by: Morduan Zang <zhangdandan@uniontech.com>
---
 drivers/vfio/pci/nvgrace-gpu/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/vfio/pci/nvgrace-gpu/main.c b/drivers/vfio/pci/nvgrace-gpu/main.c
index d95761dcdd58..0adaa6150252 100644
--- a/drivers/vfio/pci/nvgrace-gpu/main.c
+++ b/drivers/vfio/pci/nvgrace-gpu/main.c
@@ -260,7 +260,7 @@ nvgrace_gpu_ioctl_get_region_info(struct vfio_device *core_vdev,
 	info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index);
 	/*
 	 * The region memory size may not be power-of-2 aligned.
-	 * Given that the memory  as a BAR and may not be
+	 * Given that the memory is a BAR and may not be
 	 * aligned, roundup to the next power-of-2.
 	 */
 	info.size = memregion->bar_size;
-- 
2.50.1
Re: [PATCH] vfio/nvgrace-gpu: fix grammatical error
Posted by Alex Williamson 1 month, 1 week ago
On Thu, 14 Aug 2025 19:03:58 +0800
Morduan Zang <zhangdandan@uniontech.com> wrote:

> The word "as" in the comment should be replaced with "is",
> and there is an extra space in the comment.
> 
> Signed-off-by: Morduan Zang <zhangdandan@uniontech.com>
> ---
>  drivers/vfio/pci/nvgrace-gpu/main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/vfio/pci/nvgrace-gpu/main.c b/drivers/vfio/pci/nvgrace-gpu/main.c
> index d95761dcdd58..0adaa6150252 100644
> --- a/drivers/vfio/pci/nvgrace-gpu/main.c
> +++ b/drivers/vfio/pci/nvgrace-gpu/main.c
> @@ -260,7 +260,7 @@ nvgrace_gpu_ioctl_get_region_info(struct vfio_device *core_vdev,
>  	info.offset = VFIO_PCI_INDEX_TO_OFFSET(info.index);
>  	/*
>  	 * The region memory size may not be power-of-2 aligned.
> -	 * Given that the memory  as a BAR and may not be
> +	 * Given that the memory is a BAR and may not be
>  	 * aligned, roundup to the next power-of-2.
>  	 */
>  	info.size = memregion->bar_size;

Applied to vfio next branch for v6.18.  Thanks,

Alex