Messages in this thread Patch in this message | | | Date | Fri, 1 May 2020 19:00:37 +0800 | From | kbuild test robot <> | Subject | [RFC PATCH] x86/paravirt: kvm_sev_migration_hcall() can be static |
| |
Signed-off-by: kbuild test robot <lkp@intel.com> --- 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);
| |