Skip to contentSkip to conversation

kvm: fix minor typos in x86/kvm.h and selftests/processor.c

PATCH New Emanuele Giuseppe Esposito 1 participant 1 message Mar 30, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kvm: fix minor typos in x86/kvm.h and selftests/processor.c

---
 tools/arch/x86/include/uapi/asm/kvm.h              | 2 +-
 tools/testing/selftests/kvm/lib/x86_64/processor.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tools/arch/x86/include/uapi/asm/kvm.h +1 -1
index 5a3022c8af82..e00d44bc5f55 100644
@@ -190,7 +190,7 @@ struct kvm_msrs {
 
 /* for KVM_GET_MSR_INDEX_LIST */
 struct kvm_msr_list {
-	__u32 nmsrs; /* number of msrs in entries */
+	__u32 nmsrs; /* number of msrs in indices */
 	__u32 indices[0];
 };
 
tools/testing/selftests/kvm/lib/x86_64/processor.c +1 -1
index a8906e60a108..e676fe40bfe6 100644
@@ -714,7 +714,7 @@ uint64_t kvm_get_feature_msr(uint64_t msr_index)
  *
  * Return: KVM CPUID (KVM_GET_CPUID2)
  *
- * Set the VCPU's CPUID.
+ * Get the VCPU's CPUID.
  */
 struct kvm_cpuid2 *vcpu_get_cpuid(struct kvm_vm *vm, uint32_t vcpuid)
 {
Signature · 1 line
2.30.2