Re: typo of the comment

2014-11-09 Thread Ingo Molnar

* john_gong  wrote:

> hi Paolo,
> i find a typo of the comment.
> 
> 
> From 09d5df31f0930e8e3eb10ad60a3debc53d6ce992 Mon Sep 17 00:00:00 2001
> From: john_gong 
> Date: Fri, 7 Nov 2014 07:32:17 +0800
> Subject: [PATCH] modify a typo of the comment
> 
> Signed-off-by: john_gong 
> ---
>  arch/x86/kvm/x86.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
> index ef432f8..42bb2c8 100644
> --- a/arch/x86/kvm/x86.c
> +++ b/arch/x86/kvm/x86.c
> @@ -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
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


typo of the comment

2014-11-07 Thread john_gong

hi Paolo,
i find a typo of the comment.


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

Signed-off-by: john_gong 
---
 arch/x86/kvm/x86.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index ef432f8..42bb2c8 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -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);
--
2.1.0


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html