Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/arm64: Fix grammatical error in string literals

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>

authored by

Nikola Z. Ivanov and committed by
Will Deacon
14a41628 62e8a9fb

+4 -4
+1 -1
tools/testing/selftests/arm64/fp/fp-stress.c
··· 549 549 550 550 evs = calloc(tests, sizeof(*evs)); 551 551 if (!evs) 552 - ksft_exit_fail_msg("Failed to allocated %d epoll events\n", 552 + ksft_exit_fail_msg("Failed to allocate %d epoll events\n", 553 553 tests); 554 554 555 555 for (i = 0; i < cpus; i++) {
+2 -2
tools/testing/selftests/arm64/fp/kernel-test.c
··· 188 188 189 189 ref = malloc(digest_len); 190 190 if (!ref) { 191 - printf("Failed to allocated %d byte reference\n", digest_len); 191 + printf("Failed to allocate %d byte reference\n", digest_len); 192 192 return false; 193 193 } 194 194 195 195 digest = malloc(digest_len); 196 196 if (!digest) { 197 - printf("Failed to allocated %d byte digest\n", digest_len); 197 + printf("Failed to allocate %d byte digest\n", digest_len); 198 198 return false; 199 199 } 200 200
+1 -1
tools/testing/selftests/arm64/gcs/gcs-stress.c
··· 433 433 434 434 evs = calloc(tests, sizeof(*evs)); 435 435 if (!evs) 436 - ksft_exit_fail_msg("Failed to allocated %d epoll events\n", 436 + ksft_exit_fail_msg("Failed to allocate %d epoll events\n", 437 437 tests); 438 438 439 439 for (i = 0; i < gcs_threads; i++)