drivers/vfio/pci/nvgrace-gpu/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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
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
© 2016 - 2025 Red Hat, Inc.