Skip to contentSkip to conversation

userfaultfd/selftests: Fix typo in comment

PATCH Applied Xiang wangx 2 participants 2 messages Jun 10, 2022 – Jun 14, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 userfaultfd/selftests: Fix typo in comment

Delete the redundant word 'in'.

---
 tools/testing/selftests/vm/userfaultfd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/vm/userfaultfd.c +1 -1
index 0bdfc1955229..4bc24581760d 100644
@@ -860,7 +860,7 @@ static int stress(struct uffd_stats *uffd_stats)
 	/*
 	 * Be strict and immediately zap area_src, the whole area has
 	 * been transferred already by the background treads. The
-	 * area_src could then be faulted in in a racy way by still
+	 * area_src could then be faulted in a racy way by still
 	 * running uffdio_threads reading zeropages after we zapped
 	 * area_src (but they're guaranteed to get -EEXIST from
 	 * UFFDIO_COPY without writing zero pages into area_dst
Signature · 1 line
2.36.1
maintainer
#1 lore raw
Quoted 13 lines · Xiang wangx

Delete the redundant word 'in'.

---
  tools/testing/selftests/vm/userfaultfd.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/vm/userfaultfd.c +0 -0
index 0bdfc1955229..4bc24581760d 100644

tools/testing/selftests/vm/userfaultfd.c static int stress(struct uffd_stats *uffd_stats) · line 866

Quoted 8 lines
tools/testing/selftests/vm/userfaultfd.c +1 -1
@@ -860,7 +860,7 @@ static int stress(struct uffd_stats *uffd_stats)
  	/*
  	 * Be strict and immediately zap area_src, the whole area has
  	 * been transferred already by the background treads. The
-	 * area_src could then be faulted in in a racy way by still
+	 * area_src could then be faulted in a racy way by still
  	 * running uffdio_threads reading zeropages after we zapped
  	 * area_src (but they're guaranteed to get -EEXIST from
  	 * UFFDIO_COPY without writing zero pages into area_dst

Thank you. Applied to next Linux 5.20-rc1

thanks,
-- Shuah