dfl.c:undefined reference to `devm_ioremap'

From: kernel test robot
Date: Fri Nov 20 2020 - 08:19:04 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4d02da974ea85a62074efedf354e82778f910d82
commit: 89eb35e810a87d69c878d66e89c7f19f34539036 fpga: dfl: map feature mmio resources in their own feature drivers
date: 3 months ago
config: s390-randconfig-r006-20201120 (attached as .config)
compiler: s390-linux-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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=89eb35e810a87d69c878d66e89c7f19f34539036
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 89eb35e810a87d69c878d66e89c7f19f34539036
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

s390-linux-ld: kernel/dma/coherent.o: in function `dma_init_coherent_memory':
coherent.c:(.text+0x380): undefined reference to `memremap'
s390-linux-ld: coherent.c:(.text+0x44a): undefined reference to `memunmap'
s390-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory':
coherent.c:(.text+0x81c): undefined reference to `memunmap'
s390-linux-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt':
irq-al-fic.c:(.init.text+0x80): undefined reference to `of_iomap'
s390-linux-ld: irq-al-fic.c:(.init.text+0x3f0): undefined reference to `iounmap'
s390-linux-ld: drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.o: in function `dw_probe':
dw-axi-dmac-platform.c:(.text+0x77a): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/dma/idma64.o: in function `idma64_platform_probe':
idma64.c:(.text+0x7e8): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/dma/qcom/hidma.o: in function `hidma_probe':
hidma.c:(.text+0x684): undefined reference to `devm_ioremap_resource'
s390-linux-ld: hidma.c:(.text+0x6be): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/input/serio/apbps2.o: in function `apbps2_of_probe':
apbps2.c:(.text+0x312): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/fpga/dfl.o: in function `build_info_prepare':
>> dfl.c:(.text+0x9b0): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/fpga/dfl.o: in function `build_info_complete':
>> dfl.c:(.text+0xcce): undefined reference to `devm_iounmap'
s390-linux-ld: drivers/fpga/dfl.o: in function `dfl_fpga_dev_feature_init':
>> (.text+0x167e): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/fpga/dfl.o: in function `build_info_commit_dev':
>> dfl.c:(.text+0x238a): undefined reference to `devm_ioremap_resource'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip