tree:
https://github.com/intel/tdx.git guest
head: dfdc15ceb2d832c11d30102043c06bad77848024
commit: 392de44b9cc6a1dc502223f8e043451127ed7a59 [36/50] x86/mm: Move
force_dma_unencrypted() to common code
config: x86_64-randconfig-r005-20201113 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
9a85643cd357e412cff69067bb5c4840e228c2ab)
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://github.com/intel/tdx/commit/392de44b9cc6a1dc502223f8e043451127ed7a59
git remote add intel-tdx
https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx guest
git checkout 392de44b9cc6a1dc502223f8e043451127ed7a59
# 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 <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> arch/x86/mm/mem_encrypt_common.c:15:6: warning: no previous
prototype for function 'force_dma_unencrypted' [-Wmissing-prototypes]
bool force_dma_unencrypted(struct device *dev)
^
arch/x86/mm/mem_encrypt_common.c:15:1: note: declare 'static' if the function
is not intended to be used outside of this translation unit
bool force_dma_unencrypted(struct device *dev)
^
static
1 warning generated.
vim +/force_dma_unencrypted +15 arch/x86/mm/mem_encrypt_common.c
13
14 /* Override for DMA direct allocation check - ARCH_HAS_FORCE_DMA_UNENCRYPTED */
15 bool force_dma_unencrypted(struct device *dev)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org