Skip to contentSkip to conversation

selftests: khugepaged: fix spelling mistake "compount" -> "compound"

PATCH In review Colin King 1 participant 2 messages Apr 20, 2020

Subsystems (2)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 selftests: khugepaged: fix spelling mistake "compount" -> "compound"

From: Colin Ian King <[email protected]>

There are three spelling mistakes in various messages. Fix these.

---
 tools/testing/selftests/vm/khugepaged.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
tools/testing/selftests/vm/khugepaged.c +3 -3
index 490055290d7f..35f0bfa77ce8 100644
@@ -654,14 +654,14 @@ static void collapse_single_pte_entry_compound(void)
 		fail("Fail");
 	madvise(p, hpage_pmd_size, MADV_NOHUGEPAGE);
 
-	printf("Split huge page leaving single PTE mapping compount page...");
+	printf("Split huge page leaving single PTE mapping compound page...");
 	madvise(p + page_size, hpage_pmd_size - page_size, MADV_DONTNEED);
 	if (!check_huge(p))
 		success("OK");
 	else
 		fail("Fail");
 
-	if (wait_for_scan("Collapse PTE table with single PTE mapping compount page", p))
+	if (wait_for_scan("Collapse PTE table with single PTE mapping compound page", p))
 		fail("Timeout");
 	else if (check_huge(p))
 		success("OK");
@@ -685,7 +685,7 @@ static void collapse_full_of_compound(void)
 	else
 		fail("Fail");
 
-	printf("Split huge page leaving single PTE page table full of compount pages...");
+	printf("Split huge page leaving single PTE page table full of compound pages...");
 	madvise(p, page_size, MADV_NOHUGEPAGE);
 	madvise(p, hpage_pmd_size, MADV_NOHUGEPAGE);
 	if (!check_huge(p))
Signature · 1 line
2.25.1
#1 lore raw

NAK: [PATCH][next] selftests: khugepaged: fix spelling mistake "compount" -> "compound"

Quoted 32 lines · Colin King

From: Colin Ian King <[email protected]>

There are three spelling mistakes in various messages. Fix these.

---
 tools/testing/selftests/vm/khugepaged.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
tools/testing/selftests/vm/khugepaged.c +2 -2
index 490055290d7f..35f0bfa77ce8 100644
@@ -654,14 +654,14 @@ static void collapse_single_pte_entry_compound(void)
 		fail("Fail");
 	madvise(p, hpage_pmd_size, MADV_NOHUGEPAGE);
 
-	printf("Split huge page leaving single PTE mapping compount page...");
+	printf("Split huge page leaving single PTE mapping compound page...");
 	madvise(p + page_size, hpage_pmd_size - page_size, MADV_DONTNEED);
 	if (!check_huge(p))
 		success("OK");
 	else
 		fail("Fail");
 
-	if (wait_for_scan("Collapse PTE table with single PTE mapping compount page", p))
+	if (wait_for_scan("Collapse PTE table with single PTE mapping compound page", p))
 		fail("Timeout");
 	else if (check_huge(p))
 		success("OK");

tools/testing/selftests/vm/khugepaged.c static void collapse_full_of_compound(void) · line 691

Quoted 8 lines
tools/testing/selftests/vm/khugepaged.c +1 -1
@@ -685,7 +685,7 @@ static void collapse_full_of_compound(void)
 	else
 		fail("Fail");
 
-	printf("Split huge page leaving single PTE page table full of compount pages...");
+	printf("Split huge page leaving single PTE page table full of compound pages...");
 	madvise(p, page_size, MADV_NOHUGEPAGE);
 	madvise(p, hpage_pmd_size, MADV_NOHUGEPAGE);
 	if (!check_huge(p))

I found some more spelling miskages, I'll send a V2.

Colin