Messages in this thread | | | Date | Thu, 8 Jul 2021 14:15:54 +0800 | From | kernel test robot <> | Subject | [joro:sev-es-kexec 9/12] arch/x86/kernel/sev.c:698:17: sparse: sparse: symbol 'sev_jumptable_ap_park' was not declared. Should it be static? |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/joro/linux.git sev-es-kexec head: 3467dc3cdbe65c619cd9b5c8db47da63b0655300 commit: f5fa86f9ca509214e22902fd1865e813d0d856b3 [9/12] x86/sev: Use AP Jump Table blob to stop CPU config: x86_64-randconfig-s021-20210702 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-341-g8af24329-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/joro/linux.git/commit/?id=f5fa86f9ca509214e22902fd1865e813d0d856b3 git remote add joro https://git.kernel.org/pub/scm/linux/kernel/git/joro/linux.git git fetch --no-tags joro sev-es-kexec git checkout f5fa86f9ca509214e22902fd1865e813d0d856b3 # 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 arch/x86/kernel/
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/kernel/sev.c:698:17: sparse: sparse: symbol 'sev_jumptable_ap_park' was not declared. Should it be static? arch/x86/kernel/sev.c:888:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *base @@ got unsigned short [noderef] [usertype] __iomem *[assigned] jump_table @@ arch/x86/kernel/sev.c:888:41: sparse: expected void *base arch/x86/kernel/sev.c:888:41: sparse: got unsigned short [noderef] [usertype] __iomem *[assigned] jump_table arch/x86/kernel/sev.c:881:32: sparse: sparse: dereference of noderef expression arch/x86/kernel/sev.c:882:32: sparse: sparse: dereference of noderef expression
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 [unhandled content-type:application/gzip] | |