tree:
https://github.com/intel/tdx.git guest
head: 422a2465ebe67c0db36e855df7f9d7018f878c28
commit: 872c5038ebb5ae2e0dc6c08f19a5476d3ce7b40e [34/44] x86/mm: Move
force_dma_unencrypted() to common code
config: x86_64-randconfig-r001-20201012 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
a324d8f964bf421fa7d8b882b0f64ead28c4149c)
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/872c5038ebb5ae2e0dc6c08f19a5476d3ce7b40e
git remote add intel-tdx
https://github.com/intel/tdx.git
git fetch --no-tags intel-tdx guest
git checkout 872c5038ebb5ae2e0dc6c08f19a5476d3ce7b40e
# 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