[RFC PATCH] x86/paravirt: kvm_sev_migration_hcall() can be static

From: kbuild test robot
Date: Fri May 01 2020 - 07:01:03 EST



Signed-off-by: kbuild test robot <lkp@xxxxxxxxx>
---
kvm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c
index 928ddb8a8cfc7..884ba9203d3b4 100644
--- a/arch/x86/kernel/kvm.c
+++ b/arch/x86/kernel/kvm.c
@@ -730,8 +730,8 @@ static void __init kvm_init_platform(void)
}

#if defined(CONFIG_AMD_MEM_ENCRYPT)
-long kvm_sev_migration_hcall(unsigned long physaddr, unsigned long npages,
- bool enc)
+static long kvm_sev_migration_hcall(unsigned long physaddr, unsigned long npages,
+ bool enc)
{
return kvm_sev_hypercall3(KVM_HC_PAGE_ENC_STATUS, physaddr, npages,
enc);