Skip to content

Commit aa006b2

Browse files
merwicksean-jc
authored andcommitted
KVM: fix typo in kvm_vm_set_mem_attributes() comment
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>
1 parent 741e595 commit aa006b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

virt/kvm/kvm_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2562,7 +2562,7 @@ static int kvm_vm_set_mem_attributes(struct kvm *kvm, gfn_t start, gfn_t end,
25622562

25632563
mutex_lock(&kvm->slots_lock);
25642564

2565-
/* Nothing to do if the entire range as the desired attributes. */
2565+
/* Nothing to do if the entire range has the desired attributes. */
25662566
if (kvm_range_has_memory_attributes(kvm, start, end, ~0, attributes))
25672567
goto out_unlock;
25682568

0 commit comments

Comments
 (0)