From: Paolo Bonzini <pbonzini@redhat.com>
To: Peng Hao <penghao122@sina.com.cn>, rkrcmar@redhat.com
Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org,
x86@kernel.org, Peng Hao <peng.hao2@zte.com.cn>
Subject: Re: [PATCH] kvm/x86 : fix some typo
Date: Mon, 15 Oct 2018 19:12:02 +0200 [thread overview]
Message-ID: <714cb48f-ffce-a606-e59b-b9543c8bf014@redhat.com> (raw)
In-Reply-To: <1538667900-25661-1-git-send-email-penghao122@sina.com.cn>
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
prev parent reply other threads:[~2018-10-15 17:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-04 15:45 [PATCH] kvm/x86 : fix some typo Peng Hao
2018-10-15 17:12 ` Paolo Bonzini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=714cb48f-ffce-a606-e59b-b9543c8bf014@redhat.com \
--to=pbonzini@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peng.hao2@zte.com.cn \
--cc=penghao122@sina.com.cn \
--cc=rkrcmar@redhat.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox