2023-04-06 08:06:03

by Colin Ian King

[permalink] [raw]
Subject: [PATCH][next] KVM: selftests: Fix spelling mistake "KVM_HYPERCAL_EXIT_SMC" -> "KVM_HYPERCALL_EXIT_SMC"

There is a spelling mistake in a test assert message. Fix it.

Signed-off-by: Colin Ian King <[email protected]>
---
tools/testing/selftests/kvm/aarch64/smccc_filter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/kvm/aarch64/smccc_filter.c b/tools/testing/selftests/kvm/aarch64/smccc_filter.c
index 0f9db0641847..82650313451a 100644
--- a/tools/testing/selftests/kvm/aarch64/smccc_filter.c
+++ b/tools/testing/selftests/kvm/aarch64/smccc_filter.c
@@ -211,7 +211,7 @@ static void expect_call_fwd_to_user(struct kvm_vcpu *vcpu, uint32_t func_id,
"KVM_HYPERCALL_EXIT_SMC is not set");
else
TEST_ASSERT(!(run->hypercall.flags & KVM_HYPERCALL_EXIT_SMC),
- "KVM_HYPERCAL_EXIT_SMC is set");
+ "KVM_HYPERCALL_EXIT_SMC is set");
}

/* SMCCC calls forwarded to userspace cause KVM_EXIT_HYPERCALL exits */
--
2.30.2


2023-04-06 16:50:51

by Oliver Upton

[permalink] [raw]
Subject: Re: [PATCH][next] KVM: selftests: Fix spelling mistake "KVM_HYPERCAL_EXIT_SMC" -> "KVM_HYPERCALL_EXIT_SMC"

On Thu, Apr 06, 2023 at 09:02:26AM +0100, Colin Ian King wrote:
> There is a spelling mistake in a test assert message. Fix it.
>
> Signed-off-by: Colin Ian King <[email protected]>

Reviewed-by: Oliver Upton <[email protected]>

> ---
> tools/testing/selftests/kvm/aarch64/smccc_filter.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/testing/selftests/kvm/aarch64/smccc_filter.c b/tools/testing/selftests/kvm/aarch64/smccc_filter.c
> index 0f9db0641847..82650313451a 100644
> --- a/tools/testing/selftests/kvm/aarch64/smccc_filter.c
> +++ b/tools/testing/selftests/kvm/aarch64/smccc_filter.c
> @@ -211,7 +211,7 @@ static void expect_call_fwd_to_user(struct kvm_vcpu *vcpu, uint32_t func_id,
> "KVM_HYPERCALL_EXIT_SMC is not set");
> else
> TEST_ASSERT(!(run->hypercall.flags & KVM_HYPERCALL_EXIT_SMC),
> - "KVM_HYPERCAL_EXIT_SMC is set");
> + "KVM_HYPERCALL_EXIT_SMC is set");
> }
>
> /* SMCCC calls forwarded to userspace cause KVM_EXIT_HYPERCALL exits */
> --
> 2.30.2
>

--
Thanks,
Oliver

2023-04-08 15:06:08

by Marc Zyngier

[permalink] [raw]
Subject: Re: [PATCH][next] KVM: selftests: Fix spelling mistake "KVM_HYPERCAL_EXIT_SMC" -> "KVM_HYPERCALL_EXIT_SMC"

On Thu, 6 Apr 2023 09:02:26 +0100, Colin Ian King wrote:
> There is a spelling mistake in a test assert message. Fix it.

Applied to next, thanks!

[1/1] KVM: selftests: Fix spelling mistake "KVM_HYPERCAL_EXIT_SMC" -> "KVM_HYPERCALL_EXIT_SMC"
commit: c5284f6d8ce2b9cf96643da441862434233a4ea3

Cheers,

M.
--
Without deviation from the norm, progress is not possible.