linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH]  kvm/x86 : fix some typo
@ 2018-10-04 15:45 Peng Hao
  2018-10-15 17:12 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: Peng Hao @ 2018-10-04 15:45 UTC (permalink / raw)
  To: pbonzini, rkrcmar; +Cc: linux-kernel, kvm, x86, Peng Hao


From: Peng Hao <peng.hao2@zte.com.cn>

Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
---
 arch/x86/kvm/mmu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index d7e9bce..281e20e 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -4546,7 +4546,7 @@ static void update_permission_bitmask(struct kvm_vcpu *vcpu,
 			 * SMAP:kernel-mode data accesses from user-mode
 			 * mappings should fault. A fault is considered
 			 * as a SMAP violation if all of the following
-			 * conditions are ture:
+			 * conditions are true:
 			 *   - X86_CR4_SMAP is set in CR4
 			 *   - A user page is accessed
 			 *   - The access is not a fetch
@@ -5891,7 +5891,7 @@ int kvm_mmu_module_init(void)
 }
 
 /*
- * Caculate mmu pages needed for kvm.
+ * Calculate mmu pages needed for kvm.
  */
 unsigned int kvm_mmu_calculate_mmu_pages(struct kvm *kvm)
 {
-- 
1.8.3.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] kvm/x86 : fix some typo
  2018-10-04 15:45 [PATCH] kvm/x86 : fix some typo Peng Hao
@ 2018-10-15 17:12 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2018-10-15 17:12 UTC (permalink / raw)
  To: Peng Hao, rkrcmar; +Cc: linux-kernel, kvm, x86, Peng Hao

On 04/10/2018 17:45, Peng Hao wrote:
> From: Peng Hao <peng.hao2@zte.com.cn>
> 
> Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
> ---
>  arch/x86/kvm/mmu.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
> index d7e9bce..281e20e 100644
> --- a/arch/x86/kvm/mmu.c
> +++ b/arch/x86/kvm/mmu.c
> @@ -4546,7 +4546,7 @@ static void update_permission_bitmask(struct kvm_vcpu *vcpu,
>  			 * SMAP:kernel-mode data accesses from user-mode
>  			 * mappings should fault. A fault is considered
>  			 * as a SMAP violation if all of the following
> -			 * conditions are ture:
> +			 * conditions are true:
>  			 *   - X86_CR4_SMAP is set in CR4
>  			 *   - A user page is accessed
>  			 *   - The access is not a fetch
> @@ -5891,7 +5891,7 @@ int kvm_mmu_module_init(void)
>  }
>  
>  /*
> - * Caculate mmu pages needed for kvm.
> + * Calculate mmu pages needed for kvm.
>   */
>  unsigned int kvm_mmu_calculate_mmu_pages(struct kvm *kvm)
>  {
> 

Queued, thanks.

Paolo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-15 17:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-04 15:45 [PATCH] kvm/x86 : fix some typo Peng Hao
2018-10-15 17:12 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).