[PATCH] selftests/vm/pkeys: fix typo in comment

Julia Lawall posted 1 patch 3 years, 11 months ago
tools/testing/selftests/vm/protection_keys.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] selftests/vm/pkeys: fix typo in comment
Posted by Julia Lawall 3 years, 11 months ago
Spelling mistake (triple letters) in comment.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
 tools/testing/selftests/vm/protection_keys.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/vm/protection_keys.c b/tools/testing/selftests/vm/protection_keys.c
index 2d0ae88665db..291bc1e07842 100644
--- a/tools/testing/selftests/vm/protection_keys.c
+++ b/tools/testing/selftests/vm/protection_keys.c
@@ -1523,7 +1523,7 @@ void test_implicit_mprotect_exec_only_memory(int *ptr, u16 pkey)
 	/*
 	 * Reset the shadow, assuming that the above mprotect()
 	 * correctly changed PKRU, but to an unknown value since
-	 * the actual alllocated pkey is unknown.
+	 * the actual allocated pkey is unknown.
 	 */
 	shadow_pkey_reg = __read_pkey_reg();
Re: [PATCH] selftests/vm/pkeys: fix typo in comment
Posted by Muchun Song 3 years, 11 months ago
On Sat, May 21, 2022 at 01:11:30PM +0200, Julia Lawall wrote:
> Spelling mistake (triple letters) in comment.
> Detected with the help of Coccinelle.
> 
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

Reviewed-by: Muchun Song <songmuchun@bytedance.com>