Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1140975imm; Thu, 4 Oct 2018 08:47:24 -0700 (PDT) X-Google-Smtp-Source: ACcGV61YSE1m0D0HtQ+PLeqHtTSi2Zba3iCVZH6Hrdjfa5p1+HSmkRYZj+t/5TL9u3nEt1EyYINv X-Received: by 2002:a63:4e11:: with SMTP id c17-v6mr6202231pgb.6.1538668044379; Thu, 04 Oct 2018 08:47:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538668044; cv=none; d=google.com; s=arc-20160816; b=VoSPT4TDNTfUFJeguTFm3sw06jiJLSUeaSpiqq4gFzxB5vbyKwuntO5YNUGY1FUIHZ 35csp2jxTR2HOZxZsu1lfEX9sCvahVsGkBLAE/6BZeazY4G/jQWTuAgMV/9xmduU6h4y 5VEvheHdfajRI9NGGiu9Bfysnwh8fij6NS5vJUCVUAZJrMSZgGuXFFV2MAZKWk3Vm6jd g3XPnbml5IvBsT4zdbrqRNRY8M38lBuLrGV9J9vXFuYwgMv9cAJ8wax1OVmIoBsh0c95 7645hUAkWk9yZkh8RBfOxjuKYHUWLYXTJpgK0mYWAU0ziZ1F+wqlsWKzcMQ1aMjsOjcB z8Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=0t45b0fseDKT0wFBTzNt3mylVew6SsclEtwUfGJ3Wks=; b=IEXQekr/cv3ze0uTRasjWId2Z+8TDAh2Oq535VBsXn3wJVfGHzYEGxu0n1q3J4LTiF k+995RwJf9aAwwMxuVWzsuRS0YjWUhcG965Poefx3Cn9eL55LqyxRyB6teq+6B7pyqZj igg6ml4sf0MVR5hEpjDQWNGSAvLK3g/DNM30sa0Qe9qv1oN1/tHVb8duBI0G+B6sqyBh in//MWzz9jsDlkAUkn5fwBXoQVAAhWe5RYgzOxFwnI3Uj2wADg9ptT2vsjVECao/eRPs znnTb2HiE0I3r2WPsBQAd7UAorsyaqDSJtWebbHTyuDNBBXOcaoTphrVTTp6d2HgDgjf XcYg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d81-v6si5731829pfm.40.2018.10.04.08.47.08; Thu, 04 Oct 2018 08:47:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728300AbeJDWjN (ORCPT + 99 others); Thu, 4 Oct 2018 18:39:13 -0400 Received: from mail78-59.sinamail.sina.com.cn ([219.142.78.59]:59147 "HELO mail78-59.sinamail.sina.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1727807AbeJDWjM (ORCPT ); Thu, 4 Oct 2018 18:39:12 -0400 Received: from unknown (HELO localhost.localdomain)([139.204.57.91]) by sina.com with ESMTP id 5BB63584000056A9; Thu, 4 Oct 2018 23:45:14 +0800 (CST) X-Sender: penghao122@sina.com.cn X-Auth-ID: penghao122@sina.com.cn X-SMAIL-MID: 982833400383 From: Peng Hao To: pbonzini@redhat.com, rkrcmar@redhat.com Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, x86@kernel.org, Peng Hao Subject: [PATCH] kvm/x86 : fix some typo Date: Thu, 4 Oct 2018 11:45:00 -0400 Message-Id: <1538667900-25661-1-git-send-email-penghao122@sina.com.cn> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Hao Signed-off-by: Peng Hao --- 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