diff mbox series

[next] KVM: selftests: Fix spelling mistake "KVM_HYPERCAL_EXIT_SMC" -> "KVM_HYPERCALL_EXIT_SMC"

Message ID 20230406080226.122955-1-colin.i.king@gmail.com (mailing list archive)
State New, archived
Headers show
Series [next] KVM: selftests: Fix spelling mistake "KVM_HYPERCAL_EXIT_SMC" -> "KVM_HYPERCALL_EXIT_SMC" | expand

Commit Message

Colin Ian King April 6, 2023, 8:02 a.m. UTC
There is a spelling mistake in a test assert message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 tools/testing/selftests/kvm/aarch64/smccc_filter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Oliver Upton April 6, 2023, 4:23 p.m. UTC | #1
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 <colin.i.king@gmail.com>

Reviewed-by: Oliver Upton <oliver.upton@linux.dev>

> ---
>  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
>
Marc Zyngier April 8, 2023, 2:43 p.m. UTC | #2
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.
diff mbox series

Patch

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 */