lkml.org 
[lkml]   [2021]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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]
\
 
 \ /
  Last update: 2021-07-08 08:17    [W:0.027 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site