Signed-off-by: Miguel García <[email protected]>
---
 tools/testing/selftests/alsa/mixer-test.c                     | 2 +-
 tools/testing/selftests/arm64/gcs/libc-gcs.c                  | 2 +-
 tools/testing/selftests/cgroup/test_cpuset.c                  | 2 +-
 tools/testing/selftests/mm/gup_longterm.c                     | 2 +-
 tools/testing/selftests/mm/mseal_test.c                       | 2 +-
 tools/testing/selftests/mm/protection_keys.c                  | 4 ++--
 tools/testing/selftests/mm/test_vmalloc.sh                    | 2 +-
 tools/testing/selftests/mount_setattr/mount_setattr_test.c    | 2 +-
 .../pmu/event_code_tests/group_constraint_thresh_sel_test.c   | 4 ++--
 tools/testing/selftests/safesetid/safesetid-test.c            | 2 +-
 10 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/tools/testing/selftests/alsa/mixer-test.c 
b/tools/testing/selftests/alsa/mixer-test.c
index 2a4b2662035e..dc7b290fc4ad 100644
--- a/tools/testing/selftests/alsa/mixer-test.c
+++ b/tools/testing/selftests/alsa/mixer-test.c
@@ -685,7 +685,7 @@ static int write_and_verify(struct ctl_data *ctl,
        }
 
        /*
-        * Use the libray to compare values, if there's a mismatch
+        * Use the library to compare values, if there's a mismatch
         * carry on and try to provide a more useful diagnostic than
         * just "mismatch".
         */
diff --git a/tools/testing/selftests/arm64/gcs/libc-gcs.c 
b/tools/testing/selftests/arm64/gcs/libc-gcs.c
index 17b2fabfec38..482e1c634a65 100644
--- a/tools/testing/selftests/arm64/gcs/libc-gcs.c
+++ b/tools/testing/selftests/arm64/gcs/libc-gcs.c
@@ -129,7 +129,7 @@ TEST(gcs_find_terminator)
  * We can access a GCS via ptrace
  *
  * This could usefully have a fixture but note that each test is
- * fork()ed into a new child whcih causes issues.  Might be better to
+ * fork()ed into a new child which causes issues.  Might be better to
  * lift at least some of this out into a separate, non-harness, test
  * program.
  */
diff --git a/tools/testing/selftests/cgroup/test_cpuset.c 
b/tools/testing/selftests/cgroup/test_cpuset.c
index 4034d14ba69a..3f802e3e8480 100644
--- a/tools/testing/selftests/cgroup/test_cpuset.c
+++ b/tools/testing/selftests/cgroup/test_cpuset.c
@@ -160,7 +160,7 @@ static int test_cpuset_perms_object_deny(const char *root)
 }
 
 /*
- * Migrate a process between parent and child implicitely
+ * Migrate a process between parent and child implicitly
  * Implicit migration happens when a controller is enabled/disabled.
  *
  */
diff --git a/tools/testing/selftests/mm/gup_longterm.c 
b/tools/testing/selftests/mm/gup_longterm.c
index 9423ad439a61..d2dc3b59a084 100644
--- a/tools/testing/selftests/mm/gup_longterm.c
+++ b/tools/testing/selftests/mm/gup_longterm.c
@@ -154,7 +154,7 @@ static void do_test(int fd, size_t size, enum test_type 
type, bool shared)
                /*
                 * R/O pinning or pinning in a private mapping is always
                 * expected to work. Otherwise, we expect long-term R/W pinning
-                * to only succeed for special fielesystems.
+                * to only succeed for special filesystems.
                 */
                should_work = !shared || !rw ||
                              fs_supports_writable_longterm_pinning(fs_type);
diff --git a/tools/testing/selftests/mm/mseal_test.c 
b/tools/testing/selftests/mm/mseal_test.c
index 01675c412b2a..2ec2c5aea44a 100644
--- a/tools/testing/selftests/mm/mseal_test.c
+++ b/tools/testing/selftests/mm/mseal_test.c
@@ -732,7 +732,7 @@ static void test_seal_mprotect_two_vma_with_split(bool seal)
        else
                FAIL_TEST_IF_FALSE(!ret);
 
-       /* the fouth page is not sealed. */
+       /* the fourth page is not sealed. */
        ret = sys_mprotect(ptr + 3 * page_size, page_size,
                        PROT_READ | PROT_WRITE);
        FAIL_TEST_IF_FALSE(!ret);
diff --git a/tools/testing/selftests/mm/protection_keys.c 
b/tools/testing/selftests/mm/protection_keys.c
index 4990f7ab4cb7..fcac7bb26b7a 100644
--- a/tools/testing/selftests/mm/protection_keys.c
+++ b/tools/testing/selftests/mm/protection_keys.c
@@ -900,7 +900,7 @@ void expected_pkey_fault(int pkey)
 
 #if defined(__i386__) || defined(__x86_64__) /* arch */
        /*
-        * The signal handler shold have cleared out PKEY register to let the
+        * The signal handler should have cleared out PKEY register to let the
         * test program continue.  We now have to restore it.
         */
        if (__read_pkey_reg() != 0)
@@ -1372,7 +1372,7 @@ void test_ptrace_of_child(int *ptr, u16 pkey)
        long ret;
        int status;
        /*
-        * This is the "control" for our little expermient.  Make sure
+        * This is the "control" for our little experiment.  Make sure
         * we can always access it when ptracing.
         */
        int *plain_ptr_unaligned = malloc(HPAGE_SIZE);
diff --git a/tools/testing/selftests/mm/test_vmalloc.sh 
b/tools/testing/selftests/mm/test_vmalloc.sh
index d73b846736f1..2d4b3e0a6a17 100755
--- a/tools/testing/selftests/mm/test_vmalloc.sh
+++ b/tools/testing/selftests/mm/test_vmalloc.sh
@@ -21,7 +21,7 @@ ksft_skip=4
 
 #
 # Static templates for performance, stressing and smoke tests.
-# Also it is possible to pass any supported parameters manualy.
+# Also it is possible to pass any supported parameters manually.
 #
 PERF_PARAM="sequential_test_order=1 test_repeat_count=3"
 SMOKE_PARAM="test_loop_count=10000 test_repeat_count=10"
diff --git a/tools/testing/selftests/mount_setattr/mount_setattr_test.c 
b/tools/testing/selftests/mount_setattr/mount_setattr_test.c
index 70f65eb320a7..a6d9f7bd1443 100644
--- a/tools/testing/selftests/mount_setattr/mount_setattr_test.c
+++ b/tools/testing/selftests/mount_setattr/mount_setattr_test.c
@@ -682,7 +682,7 @@ TEST_F(mount_setattr, mount_has_writers)
        ASSERT_GE(fd, 0);
 
        /*
-        * We're holding a fd open to a mount somwhere in the middle so this
+        * We're holding a fd open to a mount somewhere in the middle so this
         * needs to fail somewhere in the middle. After this the mount options
         * need to be unchanged.
         */
diff --git 
a/tools/testing/selftests/powerpc/pmu/event_code_tests/group_constraint_thresh_sel_test.c
 
b/tools/testing/selftests/powerpc/pmu/event_code_tests/group_constraint_thresh_sel_test.c
index 50a8cd843ce7..1b1336c1ddb1 100644
--- 
a/tools/testing/selftests/powerpc/pmu/event_code_tests/group_constraint_thresh_sel_test.c
+++ 
b/tools/testing/selftests/powerpc/pmu/event_code_tests/group_constraint_thresh_sel_test.c
@@ -34,7 +34,7 @@ static int group_constraint_thresh_sel(void)
        /* Check for platform support for the test */
        SKIP_IF(platform_check_for_tests());
 
-       /* Init the events for the group contraint thresh select test */
+       /* Init the events for the group constraint thresh select test */
        event_init(&leader, EventCode_1);
        FAIL_IF(event_open(&leader));
 
@@ -45,7 +45,7 @@ static int group_constraint_thresh_sel(void)
 
        event_close(&event);
 
-       /* Init the event for the group contraint thresh select test */
+       /* Init the event for the group constraint thresh select test */
        event_init(&event, EventCode_3);
 
         /* Expected to succeed as sibling and leader event request same 
thresh_sel bits */
diff --git a/tools/testing/selftests/safesetid/safesetid-test.c 
b/tools/testing/selftests/safesetid/safesetid-test.c
index eb9bf0aee951..80f736d545a9 100644
--- a/tools/testing/selftests/safesetid/safesetid-test.c
+++ b/tools/testing/selftests/safesetid/safesetid-test.c
@@ -19,7 +19,7 @@
 
 /*
  * NOTES about this test:
- * - requries libcap-dev to be installed on test system
+ * - requires libcap-dev to be installed on test system
  * - requires securityfs to me mounted at /sys/kernel/security, e.g.:
  * mount -n -t securityfs -o nodev,noexec,nosuid securityfs 
/sys/kernel/security
  * - needs CONFIG_SECURITYFS and CONFIG_SAFESETID to be enabled
-- 
2.34.1


Reply via email to