lkml.org 
[lkml]   [2020]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    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);
    \
     
     \ /
      Last update: 2020-05-01 13:02    [W:3.745 / U:2.768 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site