Skip to contentSkip to conversation

selftests/memfd: fix spelling mistakes

PATCH Applied Saurav Shah 1 participant 1 message May 1, 2024 Kselftest

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests/memfd: fix spelling mistakes

Fix spelling mistakes in the comments.

---
 tools/testing/selftests/memfd/fuse_test.c  | 2 +-
 tools/testing/selftests/memfd/memfd_test.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/memfd/fuse_test.c +1 -1
index 93798c8c5d54..dbc171a3806d 100644
@@ -306,7 +306,7 @@ int main(int argc, char **argv)
 	 * then the kernel did a page-replacement or canceled the read() (or
 	 * whatever magic it did..). In that case, the memfd object is still
 	 * all zero.
-	 * In case the memfd-object was *not* sealed, the read() was successfull
+	 * In case the memfd-object was *not* sealed, the read() was successful
 	 * and the memfd object must *not* be all zero.
 	 * Note that in real scenarios, there might be a mixture of both, but
 	 * in this test-cases, we have explicit 200ms delays which should be
tools/testing/selftests/memfd/memfd_test.c +1 -1
index 18f585684e20..95af2d78fd31 100644
@@ -1528,7 +1528,7 @@ static void test_share_open(char *banner, char *b_suffix)
 
 /*
  * Test sharing via fork()
- * Test whether seal-modifications work as expected with forked childs.
+ * Test whether seal-modifications work as expected with forked children.
  */
 static void test_share_fork(char *banner, char *b_suffix)
 {
Signature · 1 line
2.34.1