[kvm-unit-tests PATCH] x86/msr: Fix typo in output SMR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



s/SMR/MSR
Signed-off-by: Jack Wang <jinpu.wang@xxxxxxxxx>
---
 x86/msr.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/x86/msr.c b/x86/msr.c
index 3a041fab160a..08e087176b25 100644
--- a/x86/msr.c
+++ b/x86/msr.c
@@ -90,7 +90,7 @@ static void test_wrmsr(u32 msr, const char *name, unsigned long long val)
 	unsigned char vector = wrmsr_safe(msr, val);
 
 	report(!vector,
-	       "Expected success on WRSMR(%s, 0x%llx), got vector %d",
+	       "Expected success on WRMSR(%s, 0x%llx), got vector %d",
 	       name, val, vector);
 }
 
@@ -99,7 +99,7 @@ static void test_wrmsr_fault(u32 msr, const char *name, unsigned long long val)
 	unsigned char vector = wrmsr_safe(msr, val);
 
 	report(vector == GP_VECTOR,
-	       "Expected #GP on WRSMR(%s, 0x%llx), got vector %d",
+	       "Expected #GP on WRMSR(%s, 0x%llx), got vector %d",
 	       name, val, vector);
 }
 
@@ -109,7 +109,7 @@ static void test_rdmsr_fault(u32 msr, const char *name)
 	unsigned char vector = rdmsr_safe(msr, &ignored);
 
 	report(vector == GP_VECTOR,
-	       "Expected #GP on RDSMR(%s), got vector %d", name, vector);
+	       "Expected #GP on RDMSR(%s), got vector %d", name, vector);
 }
 
 static void test_msr(struct msr_info *msr, bool is_64bit_host)
-- 
2.34.1





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux