Skip to content

Commit a413a62

Browse files
Tom Rixbonzini
authored andcommitted
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>
1 parent 0047fb3 commit a413a62

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

virt/kvm/dirty_ring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* SPDX-License-Identifier: GPL-2.0-only */
1+
// SPDX-License-Identifier: GPL-2.0-only
22
/*
33
* KVM dirty ring implementation
44
*

virt/kvm/kvm_main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ void kvm_inc_notifier_count(struct kvm *kvm, unsigned long start,
662662
kvm->mmu_notifier_range_end = end;
663663
} else {
664664
/*
665-
* Fully tracking multiple concurrent ranges has dimishing
665+
* Fully tracking multiple concurrent ranges has diminishing
666666
* returns. Keep things simple and just find the minimal range
667667
* which includes the current and new ranges. As there won't be
668668
* enough information to subtract a range after its invalidate
@@ -1799,7 +1799,7 @@ static int kvm_set_memslot(struct kvm *kvm,
17991799

18001800
/*
18011801
* No need to refresh new->arch, changes after dropping slots_arch_lock
1802-
* will directly hit the final, active memsot. Architectures are
1802+
* will directly hit the final, active memslot. Architectures are
18031803
* responsible for knowing that new->arch may be stale.
18041804
*/
18051805
kvm_commit_memory_region(kvm, old, new, change);

virt/kvm/kvm_mm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-License-Identifier: GPL-2.0-only
1+
/* SPDX-License-Identifier: GPL-2.0-only */
22

33
#ifndef __KVM_MM_H__
44
#define __KVM_MM_H__ 1

0 commit comments

Comments
 (0)