summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@inria.fr>2022-05-21 13:11:30 +0200
committerakpm <akpm@linux-foundation.org>2022-05-25 19:47:48 +0200
commit75c96ccea2e1de1342996722ee505d2cadedc0dd (patch)
tree949c3280fc2056d9369871a111b11e947e71a8bf /tools
parentksm: fix typo in comment (diff)
downloadlinux-75c96ccea2e1de1342996722ee505d2cadedc0dd.tar.xz
linux-75c96ccea2e1de1342996722ee505d2cadedc0dd.zip
selftests/vm/pkeys: fix typo in comment
Spelling mistake (triple letters) in comment. Detected with the help of Coccinelle. Link: https://lkml.kernel.org/r/20220521111145.81697-80-Julia.Lawall@inria.fr Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Reviewed-by: Muchun Song <songmuchun@bytedance.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/vm/protection_keys.c2
1 files changed, 1 insertions, 1 deletions
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();