Skip to content

Commit 474d9f3

Browse files
xgkucasjgunthorpe
authored andcommitted
iommufd: Fix spelling errors in comments
requres -> requires dramtically -> dramatically Link: https://lore.kernel.org/r/31680D47D9533D91+20230904023236.GA12494@xgk8823 Signed-off-by: GuokaiXu <xuguokai@ucas.com.cn> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
1 parent ce9ecca commit 474d9f3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tools/testing/selftests/iommu/iommufd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1729,7 +1729,7 @@ TEST_F(vfio_compat_mock_domain, map)
17291729
ASSERT_EQ(0, ioctl(self->fd, VFIO_IOMMU_UNMAP_DMA, &unmap_cmd));
17301730
ASSERT_EQ(BUFFER_SIZE, unmap_cmd.size);
17311731

1732-
/* UNMAP_FLAG_ALL requres 0 iova/size */
1732+
/* UNMAP_FLAG_ALL requires 0 iova/size */
17331733
ASSERT_EQ(0, ioctl(self->fd, VFIO_IOMMU_MAP_DMA, &map_cmd));
17341734
unmap_cmd.flags = VFIO_DMA_UNMAP_FLAG_ALL;
17351735
EXPECT_ERRNO(EINVAL, ioctl(self->fd, VFIO_IOMMU_UNMAP_DMA, &unmap_cmd));

tools/testing/selftests/iommu/iommufd_fail_nth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ static bool fail_nth_next(struct __test_metadata *_metadata,
105105

106106
/*
107107
* This is just an arbitrary limit based on the current kernel
108-
* situation. Changes in the kernel can dramtically change the number of
108+
* situation. Changes in the kernel can dramatically change the number of
109109
* required fault injection sites, so if this hits it doesn't
110110
* necessarily mean a test failure, just that the limit has to be made
111111
* bigger.

0 commit comments

Comments
 (0)