Commit a413a625 authored by Tom Rix's avatar Tom Rix Committed by Paolo Bonzini

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: default avatarTom Rix <trix@redhat.com>
Message-Id: <20220410153840.55506-1-trix@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 0047fb33
/* SPDX-License-Identifier: GPL-2.0-only */ // SPDX-License-Identifier: GPL-2.0-only
/* /*
* KVM dirty ring implementation * KVM dirty ring implementation
* *
......
...@@ -662,7 +662,7 @@ void kvm_inc_notifier_count(struct kvm *kvm, unsigned long start, ...@@ -662,7 +662,7 @@ void kvm_inc_notifier_count(struct kvm *kvm, unsigned long start,
kvm->mmu_notifier_range_end = end; kvm->mmu_notifier_range_end = end;
} else { } 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 * returns. Keep things simple and just find the minimal range
* which includes the current and new ranges. As there won't be * which includes the current and new ranges. As there won't be
* enough information to subtract a range after its invalidate * enough information to subtract a range after its invalidate
...@@ -1799,7 +1799,7 @@ static int kvm_set_memslot(struct kvm *kvm, ...@@ -1799,7 +1799,7 @@ static int kvm_set_memslot(struct kvm *kvm,
/* /*
* No need to refresh new->arch, changes after dropping slots_arch_lock * 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. * responsible for knowing that new->arch may be stale.
*/ */
kvm_commit_memory_region(kvm, old, new, change); kvm_commit_memory_region(kvm, old, new, change);
......
// SPDX-License-Identifier: GPL-2.0-only /* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __KVM_MM_H__ #ifndef __KVM_MM_H__
#define __KVM_MM_H__ 1 #define __KVM_MM_H__ 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment