* Re: [PATCH] kvm: x86: fix a prototype warning
2018-04-06 21:47 [PATCH] kvm: x86: fix a prototype warning Peng Hao
@ 2018-04-06 16:29 ` Paolo Bonzini
2018-04-09 10:59 ` David Hildenbrand
1 sibling, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2018-04-06 16:29 UTC (permalink / raw)
To: Peng Hao, rkrcmar, tglx, mingo, hpa; +Cc: x86, kvm, linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] kvm: x86: fix a prototype warning
@ 2018-04-06 21:47 Peng Hao
2018-04-06 16:29 ` Paolo Bonzini
2018-04-09 10:59 ` David Hildenbrand
0 siblings, 2 replies; 3+ messages in thread
From: Peng Hao @ 2018-04-06 21:47 UTC (permalink / raw)
To: pbonzini, rkrcmar, tglx, mingo, hpa; +Cc: x86, kvm, linux-kernel, Peng Hao
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,
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] kvm: x86: fix a prototype warning
2018-04-06 21:47 [PATCH] kvm: x86: fix a prototype warning Peng Hao
2018-04-06 16:29 ` Paolo Bonzini
@ 2018-04-09 10:59 ` David Hildenbrand
1 sibling, 0 replies; 3+ messages in thread
From: David Hildenbrand @ 2018-04-09 10:59 UTC (permalink / raw)
To: Peng Hao, pbonzini, rkrcmar, tglx, mingo, hpa; +Cc: x86, kvm, linux-kernel
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,
>
Reviewed-by: David Hildenbrand <david@redhat.com>
--
Thanks,
David / dhildenb
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-04-09 10:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-06 21:47 [PATCH] kvm: x86: fix a prototype warning Peng Hao
2018-04-06 16:29 ` Paolo Bonzini
2018-04-09 10:59 ` David Hildenbrand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).