mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
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>
This commit is contained in:
parent
62e8a9fbaa
commit
14a41628c4
|
|
@ -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++) {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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++)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user