lkml.org 
[lkml]   [2021]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[RFC PATCH joro] x86/compressed/64: sev_prep_identity_maps() can be static
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@intel.com>
Signed-off-by: kernel test robot <lkp@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
\
 
 \ /
  Last update: 2021-11-17 21:51    [W:0.044 / U:1.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site