com90xx.c:undefined reference to `iounmap'
From: kernel test robot
Date: Wed Mar 02 2022 - 14:47:41 EST
Hi Sebastian,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fb184c4af9b9f4563e7a126219389986a71d5b5b
commit: 71ba41c9b1d91042960e9d92a5c8f52dc8531eda s390/pci: provide support for MIO instructions
date: 2 years, 10 months ago
config: s390-randconfig-r044-20220109 (https://download.01.org/0day-ci/archive/20220303/202203030347.uFXSRjNB-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/torvalds/linux.git/commit/?id=71ba41c9b1d91042960e9d92a5c8f52dc8531eda
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 71ba41c9b1d91042960e9d92a5c8f52dc8531eda
# 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: drivers/dma/qcom/hidma.o: in function `hidma_probe':
hidma.c:(.text+0x128a): undefined reference to `devm_ioremap_resource'
s390-linux-ld: hidma.c:(.text+0x12bc): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/dma/ti/edma.o: in function `edma_probe':
edma.c:(.text+0x1472): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/dma/ti/omap-dma.o: in function `omap_dma_probe':
omap-dma.c:(.text+0x52): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/exynos-trng.o: in function `exynos_trng_probe':
exynos-trng.c:(.text+0x23a): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/meson-rng.o:meson-rng.c:(.text+0x7c): more undefined references to `devm_ioremap_resource' follow
s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `com90xx_exit':
>> com90xx.c:(.exit.text+0x5a): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `check_mirror':
>> com90xx.c:(.init.text+0x4c): undefined reference to `ioremap'
>> s390-linux-ld: com90xx.c:(.init.text+0x6e): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `com90xx_found':
>> com90xx.c:(.init.text+0xe6): undefined reference to `iounmap'
s390-linux-ld: com90xx.c:(.init.text+0x1ba): undefined reference to `iounmap'
>> s390-linux-ld: com90xx.c:(.init.text+0x2d4): undefined reference to `ioremap'
s390-linux-ld: com90xx.c:(.init.text+0x3a2): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `com90xx_probe':
com90xx.c:(.init.text+0x652): undefined reference to `ioremap'
s390-linux-ld: com90xx.c:(.init.text+0x6ae): undefined reference to `iounmap'
s390-linux-ld: com90xx.c:(.init.text+0x8d4): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `arc_rimi_exit':
>> arc-rimi.c:(.exit.text+0x2e): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `arcrimi_found':
>> arc-rimi.c:(.init.text+0xb6): undefined reference to `ioremap'
>> s390-linux-ld: arc-rimi.c:(.init.text+0x136): undefined reference to `iounmap'
s390-linux-ld: arc-rimi.c:(.init.text+0x29e): undefined reference to `iounmap'
>> s390-linux-ld: arc-rimi.c:(.init.text+0x326): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.init.text+0x3e4): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `check_mirror':
>> arc-rimi.c:(.text.unlikely+0x4c): undefined reference to `ioremap'
>> s390-linux-ld: arc-rimi.c:(.text.unlikely+0x6e): undefined reference to `iounmap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
cistpl.c:(.text+0x220): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x232): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x288): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x29e): undefined reference to `iounmap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
cistpl.c:(.text+0xce4): undefined reference to `iounmap'
s390-linux-ld: drivers/watchdog/sirfsoc_wdt.o: in function `sirfsoc_wdt_probe':
sirfsoc_wdt.c:(.text+0x116): undefined reference to `devm_ioremap_resource'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx