From: Paolo Bonzini <pbonzini@redhat.com>
To: Peng Hao <peng.hao2@zte.com.cn>,
rkrcmar@redhat.com, tglx@linutronix.de, mingo@redhat.com,
hpa@zytor.com
Cc: x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] kvm: x86: fix a prototype warning
Date: Fri, 6 Apr 2018 18:29:45 +0200 [thread overview]
Message-ID: <bc801d02-c02f-41fb-1004-3493feb7d60b@redhat.com> (raw)
In-Reply-To: <1523051252-110308-1-git-send-email-peng.hao2@zte.com.cn>
On 06/04/2018 23:47, Peng Hao wrote:
> warning: no previous prototype for ‘vmx_enable_tdp’
>
> Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
> ---
> arch/x86/kvm/vmx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
> index f0fd50b..86681bc 100644
> --- a/arch/x86/kvm/vmx.c
> +++ b/arch/x86/kvm/vmx.c
> @@ -6954,7 +6954,7 @@ static void wakeup_handler(void)
> spin_unlock(&per_cpu(blocked_vcpu_on_cpu_lock, cpu));
> }
>
> -void vmx_enable_tdp(void)
> +static void vmx_enable_tdp(void)
> {
> kvm_mmu_set_mask_ptes(VMX_EPT_READABLE_MASK,
> enable_ept_ad_bits ? VMX_EPT_ACCESS_BIT : 0ull,
>
Queued, thanks!
Paolo
next prev parent reply other threads:[~2018-04-06 16:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-06 21:47 Peng Hao
2018-04-06 16:29 ` Paolo Bonzini [this message]
2018-04-09 10:59 ` David Hildenbrand
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=bc801d02-c02f-41fb-1004-3493feb7d60b@redhat.com \
--to=pbonzini@redhat.com \
--cc=hpa@zytor.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peng.hao2@zte.com.cn \
--cc=rkrcmar@redhat.com \
--cc=tglx@linutronix.de \
--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
all inboxes | Powered by JetHome®