]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
selftests/arm64: Fix grammatical error in string literals
authorNikola Z. Ivanov <zlatistiv@gmail.com>
Tue, 26 Aug 2025 21:49:13 +0000 (00:49 +0300)
committerWill Deacon <will@kernel.org>
Mon, 8 Sep 2025 15:17:13 +0000 (16:17 +0100)
Fix grammatical error in <past tense verb> + <infinitive>
construct related to memory allocation checks.
In essence change "Failed to allocated" to "Failed to allocate".

Signed-off-by: Nikola Z. Ivanov <zlatistiv@gmail.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Will Deacon <will@kernel.org>
tools/testing/selftests/arm64/fp/fp-stress.c
tools/testing/selftests/arm64/fp/kernel-test.c
tools/testing/selftests/arm64/gcs/gcs-stress.c

index 3a0ae96cf9096a5cfb5430dff07090a9c6c9b074..9349aa630c8419a3893390c714e3465fc6c64736 100644 (file)
@@ -549,7 +549,7 @@ int main(int argc, char **argv)
 
        evs = calloc(tests, sizeof(*evs));
        if (!evs)
-               ksft_exit_fail_msg("Failed to allocated %d epoll events\n",
+               ksft_exit_fail_msg("Failed to allocate %d epoll events\n",
                                   tests);
 
        for (i = 0; i < cpus; i++) {
index e3cec3723ffa967c1570668a0b73085d0d9a4c8f..0c40007d12821409558aa5c73b3d7db902a05c05 100644 (file)
@@ -188,13 +188,13 @@ static bool create_socket(void)
 
        ref = malloc(digest_len);
        if (!ref) {
-               printf("Failed to allocated %d byte reference\n", digest_len);
+               printf("Failed to allocate %d byte reference\n", digest_len);
                return false;
        }
 
        digest = malloc(digest_len);
        if (!digest) {
-               printf("Failed to allocated %d byte digest\n", digest_len);
+               printf("Failed to allocate %d byte digest\n", digest_len);
                return false;
        }
 
index bbc7f4950c13ed9e0ecb4c53b14b69bb4b6bb6d5..cf316d78ea97c7dbc6d77b13802c1543cfc9cbd7 100644 (file)
@@ -433,7 +433,7 @@ int main(int argc, char **argv)
 
        evs = calloc(tests, sizeof(*evs));
        if (!evs)
-               ksft_exit_fail_msg("Failed to allocated %d epoll events\n",
+               ksft_exit_fail_msg("Failed to allocate %d epoll events\n",
                                   tests);
 
        for (i = 0; i < gcs_threads; i++)