* [PATCH 1/1] tools/testing/selftests/iommu:Fixed spelling errors in comments
@ 2023-09-04 2:32 GuokaiXu
2023-09-19 12:11 ` Jason Gunthorpe
0 siblings, 1 reply; 2+ messages in thread
From: GuokaiXu @ 2023-09-04 2:32 UTC (permalink / raw)
To: jgg, kevin.tian, shuah; +Cc: iommu, linux-kselftest, linux-kernel
From c4e404036e0a7ffcaedc5760bee234713ccfe4a4 Mon Sep 17 00:00:00 2001
From: GuokaiXu <xuguokai@ucas.com.cn>
Date: Mon, 4 Sep 2023 10:18:04 +0800
Subject: [PATCH 1/1] Fix the spelling errors in comments
Signed-off-by: GuokaiXu <xuguokai@ucas.com.cn>
---
tools/testing/selftests/iommu/iommufd.c | 2 +-
tools/testing/selftests/iommu/iommufd_fail_nth.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/testing/selftests/iommu/iommufd.c b/tools/testing/selftests/iommu/iommufd.c
index 33d08600be13..b7249ffc6750 100644
--- a/tools/testing/selftests/iommu/iommufd.c
+++ b/tools/testing/selftests/iommu/iommufd.c
@@ -1729,7 +1729,7 @@ TEST_F(vfio_compat_mock_domain, map)
ASSERT_EQ(0, ioctl(self->fd, VFIO_IOMMU_UNMAP_DMA, &unmap_cmd));
ASSERT_EQ(BUFFER_SIZE, unmap_cmd.size);
- /* UNMAP_FLAG_ALL requres 0 iova/size */
+ /* UNMAP_FLAG_ALL requires 0 iova/size */
ASSERT_EQ(0, ioctl(self->fd, VFIO_IOMMU_MAP_DMA, &map_cmd));
unmap_cmd.flags = VFIO_DMA_UNMAP_FLAG_ALL;
EXPECT_ERRNO(EINVAL, ioctl(self->fd, VFIO_IOMMU_UNMAP_DMA, &unmap_cmd));
diff --git a/tools/testing/selftests/iommu/iommufd_fail_nth.c b/tools/testing/selftests/iommu/iommufd_fail_nth.c
index a220ca2a689d..36e7aa4f615c 100644
--- a/tools/testing/selftests/iommu/iommufd_fail_nth.c
+++ b/tools/testing/selftests/iommu/iommufd_fail_nth.c
@@ -105,7 +105,7 @@ static bool fail_nth_next(struct __test_metadata *_metadata,
/*
* This is just an arbitrary limit based on the current kernel
- * situation. Changes in the kernel can dramtically change the number of
+ * situation. Changes in the kernel can dramatically change the number of
* required fault injection sites, so if this hits it doesn't
* necessarily mean a test failure, just that the limit has to be made
* bigger.
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] tools/testing/selftests/iommu:Fixed spelling errors in comments
2023-09-04 2:32 [PATCH 1/1] tools/testing/selftests/iommu:Fixed spelling errors in comments GuokaiXu
@ 2023-09-19 12:11 ` Jason Gunthorpe
0 siblings, 0 replies; 2+ messages in thread
From: Jason Gunthorpe @ 2023-09-19 12:11 UTC (permalink / raw)
To: GuokaiXu; +Cc: kevin.tian, shuah, iommu, linux-kselftest, linux-kernel
On Mon, Sep 04, 2023 at 10:32:36AM +0800, GuokaiXu wrote:
> From c4e404036e0a7ffcaedc5760bee234713ccfe4a4 Mon Sep 17 00:00:00 2001
> From: GuokaiXu <xuguokai@ucas.com.cn>
> Date: Mon, 4 Sep 2023 10:18:04 +0800
> Subject: [PATCH 1/1] Fix the spelling errors in comments
>
> Signed-off-by: GuokaiXu <xuguokai@ucas.com.cn>
> ---
> tools/testing/selftests/iommu/iommufd.c | 2 +-
> tools/testing/selftests/iommu/iommufd_fail_nth.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Applied to for-next, thanks
Jason
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-19 12:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-04 2:32 [PATCH 1/1] tools/testing/selftests/iommu:Fixed spelling errors in comments GuokaiXu
2023-09-19 12:11 ` Jason Gunthorpe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox