]> www.infradead.org Git - users/hch/misc.git/commitdiff
vfio/nvgrace-gpu: fix grammatical error
authorMorduan Zang <zhangdandan@uniontech.com>
Thu, 14 Aug 2025 11:03:58 +0000 (19:03 +0800)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 27 Aug 2025 15:23:26 +0000 (09:23 -0600)
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>
Reviewed-by: Ankit Agrawal <ankita@nvidia.com>
Link: https://lore.kernel.org/r/54E1ED6C5A2682C8+20250814110358.285412-1-zhangdandan@uniontech.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/nvgrace-gpu/main.c

index d95761dcdd58c4f5a2742ef3293fee51a03afbed..0adaa6150252b17ae11f95952c427225edad6624 100644 (file)
@@ -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;