Skip to contentSkip to conversation

KVM: selftests: Fix spelling mistake "KVM_HYPERCAL_EXIT_SMC" -> "KVM_HYPERCALL_EXIT_SMC"

PATCH Applied Colin Ian King 3 participants 3 messages Apr 6, 2023 – Apr 8, 2023

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 tools/testing/selftests/kvm/aarch64/smccc_filter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/kvm/aarch64/smccc_filter.c +1 -1
index 0f9db0641847..82650313451a 100644
@@ -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 */
Signature · 1 line
2.30.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Colin Ian King

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

Quoted 20 lines
---
 tools/testing/selftests/kvm/aarch64/smccc_filter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/kvm/aarch64/smccc_filter.c +1 -1
index 0f9db0641847..82650313451a 100644
@@ -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 */
Signature · 1 line
2.30.2
Signature · 2 lines
Thanks,
Oliver
maintainer Applied
#2 lore raw
In reply to Colin Ian King
Quoted 1 line · Colin Ian King

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.
Signature · 1 line
Without deviation from the norm, progress is not possible.