Skip to contentSkip to conversation

typo of the comment

PATCH john_gong 2 participants 2 messages Nov 8, 2014 – Nov 10, 2014

Subsystems (3)
lore
Share & tools
lore

john_gong

author
#0 lore raw

hi Paolo,
i find a typo of the comment.

From 09d5df31f0930e8e3eb10ad60a3debc53d6ce992 Mon Sep 17 00:00:00 2001
From: john_gong <[email protected]>
Date: Fri, 7 Nov 2014 07:32:17 +0800
Subject: [PATCH] modify a typo of the comment

---
 arch/x86/kvm/x86.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kvm/x86.c +1 -1
index ef432f8..42bb2c8 100644
@@ -214,7 +214,7 @@ void kvm_define_shared_msr(unsigned slot, u32 msr)
     if (slot >= shared_msrs_global.nr)
         shared_msrs_global.nr = slot + 1;
     shared_msrs_global.msrs[slot] = msr;
-    /* we need ensured the shared_msr_global have been updated */
+    /* we need ensured the shared_msrs_global have been updated */
     smp_wmb();
 }
 EXPORT_SYMBOL_GPL(kvm_define_shared_msr);
Signature · 1 line
2.1.0
#1 lore raw
Quoted 19 lines · john_gong

hi Paolo,
i find a typo of the comment.

From 09d5df31f0930e8e3eb10ad60a3debc53d6ce992 Mon Sep 17 00:00:00 2001
From: john_gong <[email protected]>
Date: Fri, 7 Nov 2014 07:32:17 +0800
Subject: [PATCH] modify a typo of the comment

---
 arch/x86/kvm/x86.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kvm/x86.c +0 -0
index ef432f8..42bb2c8 100644

arch/x86/kvm/x86.c void kvm_define_shared_msr(unsigned slot, u32 msr) · line 218

Quoted 6 lines
arch/x86/kvm/x86.c +1 -1
@@ -214,7 +214,7 @@ void kvm_define_shared_msr(unsigned slot, u32 msr)
     if (slot >= shared_msrs_global.nr)
         shared_msrs_global.nr = slot + 1;
     shared_msrs_global.msrs[slot] = msr;
-    /* we need ensured the shared_msr_global have been updated */
+    /* we need ensured the shared_msrs_global have been updated */
     smp_wmb();

That's not the only typo in that sentence though.

Thanks,

Ingo