lkml.org 
[lkml]   [2021]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[RFC PATCH joro] x86/sev: sev_jumptable_ap_park() can be static
arch/x86/kernel/sev.c:698:17: warning: symbol 'sev_jumptable_ap_park' was not declared. Should it be static?

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
sev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kernel/sev.c b/arch/x86/kernel/sev.c
index bac9bb4fa54e0..3afddbd831b7a 100644
--- a/arch/x86/kernel/sev.c
+++ b/arch/x86/kernel/sev.c
@@ -695,7 +695,7 @@ static bool __init sev_es_setup_ghcb(void)
return true;
}

-void __noreturn sev_jumptable_ap_park(void)
+static void __noreturn sev_jumptable_ap_park(void)
{
local_irq_disable();

\
 
 \ /
  Last update: 2021-07-08 08:17    [W:0.024 / U:1.856 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site