mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [joro:x86-testing 38/45] arch/x86/boot/compressed/ident_map_64.c:111:6: sparse: sparse: symbol 'sev_prep_identity_maps' was not declared. Should it be static?
@ 2021-11-17 20:45 kernel test robot
  2021-11-17 20:45 ` [RFC PATCH joro] x86/compressed/64: sev_prep_identity_maps() can be static kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-11-17 20:45 UTC (permalink / raw)
  To: Michael Roth; +Cc: kbuild-all, linux-kernel, Joerg Roedel, Brijesh Singh

[-- Attachment #1: Type: text/plain, Size: 1389 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/joro/linux.git x86-testing
head:   139c88cae82e33dfd6e49ecc4b015a5c7d39c80a
commit: 3ef653bfccaa36cfa6191851fbbc71248ede9e7a [38/45] x86/compressed/64: add identity mapping for Confidential Computing blob
config: x86_64-randconfig-s022-20211116 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/joro/linux.git/commit/?id=3ef653bfccaa36cfa6191851fbbc71248ede9e7a
        git remote add joro https://git.kernel.org/pub/scm/linux/kernel/git/joro/linux.git
        git fetch --no-tags joro x86-testing
        git checkout 3ef653bfccaa36cfa6191851fbbc71248ede9e7a
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
>> arch/x86/boot/compressed/ident_map_64.c:111:6: sparse: sparse: symbol 'sev_prep_identity_maps' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 38274 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [RFC PATCH joro] x86/compressed/64: sev_prep_identity_maps() can be static
  2021-11-17 20:45 [joro:x86-testing 38/45] arch/x86/boot/compressed/ident_map_64.c:111:6: sparse: sparse: symbol 'sev_prep_identity_maps' was not declared. Should it be static? kernel test robot
@ 2021-11-17 20:45 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-17 20:45 UTC (permalink / raw)
  To: Michael Roth; +Cc: kbuild-all, linux-kernel, Joerg Roedel, Brijesh Singh

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-17 20:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17 20:45 [joro:x86-testing 38/45] arch/x86/boot/compressed/ident_map_64.c:111:6: sparse: sparse: symbol 'sev_prep_identity_maps' was not declared. Should it be static? kernel test robot
2021-11-17 20:45 ` [RFC PATCH joro] x86/compressed/64: sev_prep_identity_maps() can be static kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®