]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
KVM: fix typo in kvm_vm_set_mem_attributes() comment
authorLiam Merwick <liam.merwick@oracle.com>
Mon, 9 Jun 2025 09:11:21 +0000 (09:11 +0000)
committerSean Christopherson <seanjc@google.com>
Fri, 20 Jun 2025 20:55:12 +0000 (13:55 -0700)
It should be 'has' in the sentence and not 'as'.

Signed-off-by: Liam Merwick <liam.merwick@oracle.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta@amd.com>
Link: https://lore.kernel.org/r/20250609091121.2497429-4-liam.merwick@oracle.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
virt/kvm/kvm_main.c

index af69b1e24f403ba6ba78126b937d2471ca31d05e..309c96a4453650242b4158882a227740d7495379 100644 (file)
@@ -2562,7 +2562,7 @@ static int kvm_vm_set_mem_attributes(struct kvm *kvm, gfn_t start, gfn_t end,
 
        mutex_lock(&kvm->slots_lock);
 
-       /* Nothing to do if the entire range as the desired attributes. */
+       /* Nothing to do if the entire range has the desired attributes. */
        if (kvm_range_has_memory_attributes(kvm, start, end, ~0, attributes))
                goto out_unlock;