[esmil:visionfive 51/56] ERROR: modpost: "arch_setup_dma_ops" [drivers/dma/dw-axi-dmac-starfive/starfive_dmaengine_memcpy.ko] undefined!

From: kernel test robot
Date: Sun Apr 24 2022 - 01:03:05 EST


tree: https://github.com/esmil/linux visionfive
head: 0729a282564fe3940277937536b1e67f98885c49
commit: a464549640391f3d92e8288e52a324b22380b200 [51/56] RISC-V: Support non-coherent DMA operations
config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20220424/202204241344.uijelyM7-lkp@xxxxxxxxx/config)
compiler: riscv64-linux-gcc (GCC) 11.2.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/a464549640391f3d92e8288e52a324b22380b200
git remote add esmil https://github.com/esmil/linux
git fetch --no-tags esmil visionfive
git checkout a464549640391f3d92e8288e52a324b22380b200
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
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