[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?

From: kernel test robot
Date: Wed Nov 17 2021 - 15:48:01 EST


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@xxxxxxxxx>


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@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip