tree:
git://git.infradead.org/users/hch/misc.git dma-ranges.3
head: 96f925f4d8ede34f7b66ae28c768c0e3a9aa2fd4
commit: 4b50a2c3f5f615d625bfef69c53a10fbfefdc315 [8/11] ARM/dma-mapping: move various
helpers from dma-mapping.h to dma-direct.h
config: arm-omap1_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
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
git checkout 4b50a2c3f5f615d625bfef69c53a10fbfefdc315
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
In file included from include/linux/dma-direct.h:18,
from kernel/dma/mapping.c:10:
arch/arm/include/asm/dma-direct.h: In function 'dma_to_virt':
> arch/arm/include/asm/dma-direct.h:51:9: error: implicit
declaration of function '__arch_dma_to_virt'
[-Werror=implicit-function-declaration]
51 | return __arch_dma_to_virt(dev,
addr);
| ^~~~~~~~~~~~~~~~~~
> arch/arm/include/asm/dma-direct.h:51:9: warning: returning
'int' from a function with return type 'void *' makes pointer from integer
without a cast [-Wint-conversion]
51 | return __arch_dma_to_virt(dev, addr);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
git remote add hch-misc
git://git.infradead.org/users/hch/misc.git
git fetch --no-tags hch-misc dma-ranges.3
git checkout 4b50a2c3f5f615d625bfef69c53a10fbfefdc315
vim +/__arch_dma_to_virt +51 arch/arm/include/asm/dma-direct.h
48
49 static inline void *dma_to_virt(struct device *dev, dma_addr_t addr)
50 {
51 return __arch_dma_to_virt(dev, addr);
52 }
53
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org