[linux-stable-rc:queue/5.10 2766/9999] xillybus_of.c:undefined reference to `devm_platform_ioremap_resource'

From: kernel test robot
Date: Tue Jan 04 2022 - 11:47:06 EST


Hi Heiko,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git queue/5.10
head: d6246530b6944329cf73012833f4debf8f24767d
commit: ba02635769f18a9231aba6e032d65f1fa6c537b4 [2766/9999] init/Kconfig: make COMPILE_TEST depend on !S390
config: s390-buildonly-randconfig-r003-20220104 (https://download.01.org/0day-ci/archive/20220105/202201050034.Jg48FZlD-lkp@xxxxxxxxx/config)
compiler: s390-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://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git/commit/?id=ba02635769f18a9231aba6e032d65f1fa6c537b4
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc queue/5.10
git checkout ba02635769f18a9231aba6e032d65f1fa6c537b4
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 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 >>):

s390-linux-ld: kernel/dma/coherent.o: in function `dma_init_coherent_memory':
coherent.c:(.text+0x1080): undefined reference to `memremap'
s390-linux-ld: coherent.c:(.text+0x12e0): undefined reference to `memunmap'
s390-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory':
coherent.c:(.text+0x17c8): 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+0xa8): undefined reference to `of_iomap'
s390-linux-ld: irq-al-fic.c:(.init.text+0x272): undefined reference to `iounmap'
s390-linux-ld: drivers/char/xillybus/xillybus_of.o: in function `xilly_drv_probe':
>> xillybus_of.c:(.text+0x402): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
cistpl.c:(.text+0x22dc): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x2360): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x2630): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x26a2): undefined reference to `iounmap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
cistpl.c:(.text+0x486c): undefined reference to `iounmap'

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