Commit 14a41628 authored by Nikola Z. Ivanov's avatar Nikola Z. Ivanov Committed by Will Deacon
Browse files

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: default avatarNikola Z. Ivanov <zlatistiv@gmail.com>
Reviewed-by: default avatarMark Brown <broonie@kernel.org>
Reviewed-by: default avatarBagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 62e8a9fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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++) {
+2 −2
Original line number Diff line number Diff line
@@ -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;
	}

+1 −1
Original line number Diff line number Diff line
@@ -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++)