aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm/kvm_main.c
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2022-04-10 11:38:40 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2022-04-21 13:16:13 -0400
commita413a625b43e5f085d4e1a8c4053494d593fb3c1 (patch)
treeca96c0e1dced863f5b430c10d73d5ce00d0f7058 /virt/kvm/kvm_main.c
parentKVM: x86: Skip KVM_GUESTDBG_BLOCKIRQ APICv update if APICv is disabled (diff)
downloadlinux-dev-a413a625b43e5f085d4e1a8c4053494d593fb3c1.tar.xz
linux-dev-a413a625b43e5f085d4e1a8c4053494d593fb3c1.zip
KVM: SPDX style and spelling fixes
SPDX comments use use /* */ style comments in headers anad // style comments in .c files. Also fix two spelling mistakes. Signed-off-by: Tom Rix <trix@redhat.com> Message-Id: <20220410153840.55506-1-trix@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm/kvm_main.c')
-rw-r--r--virt/kvm/kvm_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index d292c4397579..2a23f24d13cf 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -662,7 +662,7 @@ void kvm_inc_notifier_count(struct kvm *kvm, unsigned long start,
kvm->mmu_notifier_range_end = end;
} else {
/*
- * Fully tracking multiple concurrent ranges has dimishing
+ * Fully tracking multiple concurrent ranges has diminishing
* returns. Keep things simple and just find the minimal range
* which includes the current and new ranges. As there won't be
* enough information to subtract a range after its invalidate
@@ -1799,7 +1799,7 @@ static int kvm_set_memslot(struct kvm *kvm,
/*
* No need to refresh new->arch, changes after dropping slots_arch_lock
- * will directly hit the final, active memsot. Architectures are
+ * will directly hit the final, active memslot. Architectures are
* responsible for knowing that new->arch may be stale.
*/
kvm_commit_memory_region(kvm, old, new, change);