[RFC PATCH joro] x86/sev: sev_jumptable_ap_park() can be static
From: kernel test robot
Date: Thu Jul 08 2021 - 02:16:37 EST
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@xxxxxxxxx>
Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
---
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();