diff mbox series

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

Message ID 20210330193029.47746-1-eesposit@redhat.com (mailing list archive)
State New, archived
Headers show
Series kvm: fix minor typos in x86/kvm.h and selftests/processor.c | expand

Commit Message

Emanuele Giuseppe Esposito March 30, 2021, 7:30 p.m. UTC
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
---
 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(-)
diff mbox series

Patch

diff --git a/tools/arch/x86/include/uapi/asm/kvm.h b/tools/arch/x86/include/uapi/asm/kvm.h
index 5a3022c8af82..e00d44bc5f55 100644
--- a/tools/arch/x86/include/uapi/asm/kvm.h
+++ b/tools/arch/x86/include/uapi/asm/kvm.h
@@ -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];
 };
 
diff --git a/tools/testing/selftests/kvm/lib/x86_64/processor.c b/tools/testing/selftests/kvm/lib/x86_64/processor.c
index a8906e60a108..e676fe40bfe6 100644
--- a/tools/testing/selftests/kvm/lib/x86_64/processor.c
+++ b/tools/testing/selftests/kvm/lib/x86_64/processor.c
@@ -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)
 {