arch/x86/boot/compressed/ident_map_64.c:111:6: warning: symbol
'sev_prep_identity_maps' was not declared. Should it be static?
Fixes: 3ef653bfccaa ("x86/compressed/64: add identity mapping for Confidential
Computing blob")
Reported-by: kernel test robot <lkp(a)intel.com>
Signed-off-by: kernel test robot <lkp(a)intel.com>
---
ident_map_64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/boot/compressed/ident_map_64.c
b/arch/x86/boot/compressed/ident_map_64.c
index 10ecbc53f8bc2..7087c3e27a6f0 100644
--- a/arch/x86/boot/compressed/ident_map_64.c
+++ b/arch/x86/boot/compressed/ident_map_64.c
@@ -108,7 +108,7 @@ static void add_identity_map(unsigned long start, unsigned long end)
error("Error: kernel_ident_mapping_init() failed\n");
}
-void sev_prep_identity_maps(void)
+static void sev_prep_identity_maps(void)
{
/*
* The ConfidentialComputing blob is used very early in uncompressed