tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/seves head: 9da54be651f8a856d9e6c14183d0df948e222103 commit: 9da54be651f8a856d9e6c14183d0df948e222103 [2/2] x86/virtio: Have SEV guests enforce restricted virtio memory access config: x86_64-randconfig-a013-20210308 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 3a11a41795bec548e91621caaa4cc00fc31b2212) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install x86_64 cross compiling tool for clang build # apt-get install binutils-x86-64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=9da54be651f8a856d9e6c14183d0df948e222103 git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git git fetch --no-tags tip x86/seves git checkout 9da54be651f8a856d9e6c14183d0df948e222103 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> All warnings (new ones prefixed by >>): >> arch/x86/mm/mem_encrypt.c:487:5: warning: no previous prototype for function >> 'arch_has_restricted_virtio_memory_access' [-Wmissing-prototypes] int arch_has_restricted_virtio_memory_access(void) ^ arch/x86/mm/mem_encrypt.c:487:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int arch_has_restricted_virtio_memory_access(void) ^ static 1 warning generated. vim +/arch_has_restricted_virtio_memory_access +487 arch/x86/mm/mem_encrypt.c 486 > 487 int arch_has_restricted_virtio_memory_access(void) --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip

