kvm/x86 : fix some typo
authorPeng Hao <peng.hao2@zte.com.cn>
Thu, 4 Oct 2018 15:45:00 +0000 (11:45 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Oct 2018 22:30:10 +0000 (00:30 +0200)
Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c

index c73d9f650de728ec88757aabd2dfef0023645e89..dc60fcddcf96a4b3cfb6429fe92f65632ed652ce 100644 (file)
@@ -4563,7 +4563,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
@@ -5978,7 +5978,7 @@ out:
 }
 
 /*
- * Caculate mmu pages needed for kvm.
+ * Calculate mmu pages needed for kvm.
  */
 unsigned int kvm_mmu_calculate_mmu_pages(struct kvm *kvm)
 {