From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH] kvm/x86 : fix some typo Date: Mon, 15 Oct 2018 19:12:02 +0200 Message-ID: <714cb48f-ffce-a606-e59b-b9543c8bf014@redhat.com> References: <1538667900-25661-1-git-send-email-penghao122@sina.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, x86@kernel.org, Peng Hao To: Peng Hao , rkrcmar@redhat.com Return-path: In-Reply-To: <1538667900-25661-1-git-send-email-penghao122@sina.com.cn> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 04/10/2018 17:45, Peng Hao wrote: > 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) > { > Queued, thanks. Paolo