[PATCH] KVM: selftests: Fix typo in comment in hyperv_features.c

Piotr Zarycki posted 1 patch 1 month, 2 weeks ago
tools/testing/selftests/kvm/x86/hyperv_features.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] KVM: selftests: Fix typo in comment in hyperv_features.c
Posted by Piotr Zarycki 1 month, 2 weeks ago
Fix a typo in a comment: 'vailable' -> 'available'.

Signed-off-by: Piotr Zarycki <piotr.zarycki@gmail.com>
---
 tools/testing/selftests/kvm/x86/hyperv_features.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/kvm/x86/hyperv_features.c b/tools/testing/selftests/kvm/x86/hyperv_features.c
index 130b9ce7e5dd..f943c748f9ff 100644
--- a/tools/testing/selftests/kvm/x86/hyperv_features.c
+++ b/tools/testing/selftests/kvm/x86/hyperv_features.c
@@ -457,7 +457,7 @@ static void guest_test_msrs_access(void)
 			msr->fault_expected = true;
 			break;
 		case 45:
-			/* MSR is vailable when CPUID feature bit is set */
+			/* MSR is available when CPUID feature bit is set */
 			if (!has_invtsc)
 				goto next_stage;
 			vcpu_set_cpuid_feature(vcpu, HV_ACCESS_TSC_INVARIANT);
-- 
2.53.0
Re: [PATCH] KVM: selftests: Fix typo in comment in hyperv_features.c
Posted by Sean Christopherson 4 weeks, 1 day ago
On Tue, 28 Apr 2026 10:30:37 +0200, Piotr Zarycki wrote:
> Fix a typo in a comment: 'vailable' -> 'available'.

Applied to kvm-x86 selftests, thanks!

[1/1] KVM: selftests: Fix typo in comment in hyperv_features.c
      https://github.com/kvm-x86/linux/commit/b67c030f4f65

--
https://github.com/kvm-x86/linux/tree/next
Re: [PATCH] KVM: selftests: Fix typo in comment in hyperv_features.c
Posted by Vitaly Kuznetsov 1 month, 2 weeks ago
Piotr Zarycki <piotr.zarycki@gmail.com> writes:

> Fix a typo in a comment: 'vailable' -> 'available'.
>
> Signed-off-by: Piotr Zarycki <piotr.zarycki@gmail.com>
> ---
>  tools/testing/selftests/kvm/x86/hyperv_features.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/testing/selftests/kvm/x86/hyperv_features.c b/tools/testing/selftests/kvm/x86/hyperv_features.c
> index 130b9ce7e5dd..f943c748f9ff 100644
> --- a/tools/testing/selftests/kvm/x86/hyperv_features.c
> +++ b/tools/testing/selftests/kvm/x86/hyperv_features.c
> @@ -457,7 +457,7 @@ static void guest_test_msrs_access(void)
>  			msr->fault_expected = true;
>  			break;
>  		case 45:
> -			/* MSR is vailable when CPUID feature bit is set */
> +			/* MSR is available when CPUID feature bit is set */
>  			if (!has_invtsc)
>  				goto next_stage;
>  			vcpu_set_cpuid_feature(vcpu, HV_ACCESS_TSC_INVARIANT);

Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>

Thanks!

-- 
Vitaly