[esmil:visionfive 51/57] ERROR: modpost: "arch_setup_dma_ops" [drivers/dma/dw-axi-dmac-starfive/starfive_dmaengine_memcpy.ko] undefined!
From: kernel test robot
Date: Sat Jun 04 2022 - 16:30:40 EST
tree: https://github.com/esmil/linux visionfive
head: 3fabc8e79a0012b6b04a227e21eef1b9669b3714
commit: b996fedff267cdd89e73c0ed5c8743532e322238 [51/57] RISC-V: Support non-coherent DMA operations
config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20220605/202206050413.DJFBanVZ-lkp@xxxxxxxxx/config)
compiler: riscv64-linux-gcc (GCC) 11.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
# https://github.com/esmil/linux/commit/b996fedff267cdd89e73c0ed5c8743532e322238
git remote add esmil https://github.com/esmil/linux
git fetch --no-tags esmil visionfive
git checkout b996fedff267cdd89e73c0ed5c8743532e322238
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>, old ones prefixed by <<):
ERROR: modpost: missing MODULE_LICENSE() in drivers/dma/dw-axi-dmac-starfive/starfive_dmaengine_memcpy.o
>> ERROR: modpost: "arch_setup_dma_ops" [drivers/dma/dw-axi-dmac-starfive/starfive_dmaengine_memcpy.ko] undefined!
--
0-DAY CI Kernel Test Service
https://01.org/lkp