smc91c92_cs.c:undefined reference to `iounmap'

From: kernel test robot
Date: Fri Apr 29 2022 - 16:13:35 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2d0de93ca2515958e717138e5ee07ec3b6bf0226
commit: 71ba41c9b1d91042960e9d92a5c8f52dc8531eda s390/pci: provide support for MIO instructions
date: 3 years ago
config: s390-randconfig-r012-20220428 (https://download.01.org/0day-ci/archive/20220430/202204300425.kL7G88z7-lkp@xxxxxxxxx/config)
compiler: s390-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://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
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=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/phy/marvell/phy-mvebu-a3700-utmi.o: in function `mvebu_a3700_utmi_phy_probe':
phy-mvebu-a3700-utmi.c:(.text+0x544): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/dma/fsl-edma.o: in function `fsl_edma_probe':
fsl-edma.c:(.text+0xb72): undefined reference to `devm_ioremap_resource'
s390-linux-ld: fsl-edma.c:(.text+0xbe0): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/dma/idma64.o: in function `idma64_platform_probe':
idma64.c:(.text+0x1b7a): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/dma/ti/edma.o: in function `edma_xbar_event_map':
edma.c:(.text+0x750): undefined reference to `of_address_to_resource'
s390-linux-ld: edma.c:(.text+0x790): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/dma/ti/edma.o: in function `edma_probe':
edma.c:(.text+0x2908): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/dma/ti/omap-dma.o: in function `omap_dma_probe':
omap-dma.c:(.text+0x68): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/dma/ti/dma-crossbar.o: in function `ti_am335x_xbar_probe':
dma-crossbar.c:(.text+0x3b4): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/dma/ti/dma-crossbar.o: in function `ti_dra7_xbar_probe':
dma-crossbar.c:(.text+0x868): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_detach':
main.c:(.text+0xa0): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0xf0): undefined reference to `iounmap'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `config_ipwireless':
main.c:(.text+0x2f2): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0x33c): undefined reference to `iounmap'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_probe.part.0':
main.c:(.text+0x6f0): undefined reference to `ioremap'
s390-linux-ld: main.c:(.text+0x7e8): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0x824): undefined reference to `ioremap'
s390-linux-ld: main.c:(.text+0x874): undefined reference to `iounmap'
s390-linux-ld: drivers/char/xillybus/xillybus_of.o: in function `xilly_drv_probe':
xillybus_of.c:(.text+0x54e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `com90xx_exit':
com90xx.c:(.exit.text+0x72): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `check_mirror':
com90xx.c:(.init.text+0x5e): undefined reference to `ioremap'
s390-linux-ld: com90xx.c:(.init.text+0x9c): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `com90xx_found':
com90xx.c:(.init.text+0x13c): undefined reference to `iounmap'
s390-linux-ld: com90xx.c:(.init.text+0x2aa): undefined reference to `iounmap'
s390-linux-ld: com90xx.c:(.init.text+0x3fe): undefined reference to `ioremap'
s390-linux-ld: com90xx.c:(.init.text+0x526): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `com90xx_probe':
com90xx.c:(.init.text+0x92e): undefined reference to `ioremap'
s390-linux-ld: com90xx.c:(.init.text+0xa2e): undefined reference to `iounmap'
s390-linux-ld: com90xx.c:(.init.text+0xde8): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `arc_rimi_exit':
arc-rimi.c:(.exit.text+0x34): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `arcrimi_found':
arc-rimi.c:(.init.text+0x12a): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.init.text+0x1e4): undefined reference to `iounmap'
s390-linux-ld: arc-rimi.c:(.init.text+0x3f8): undefined reference to `iounmap'
s390-linux-ld: arc-rimi.c:(.init.text+0x49e): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.init.text+0x5b4): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `check_mirror':
arc-rimi.c:(.text.unlikely+0x5e): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.text.unlikely+0x9c): undefined reference to `iounmap'
s390-linux-ld: drivers/net/ethernet/altera/altera_tse_main.o: in function `request_and_map':
altera_tse_main.c:(.text+0x19e6): undefined reference to `devm_ioremap_nocache'
s390-linux-ld: drivers/net/ethernet/smsc/smc91c92_cs.o: in function `smc91c92_detach':
>> smc91c92_cs.c:(.text+0x22d2): undefined reference to `iounmap'
s390-linux-ld: drivers/net/ethernet/smsc/smc91c92_cs.o: in function `smc91c92_config':
>> smc91c92_cs.c:(.text+0x2c96): undefined reference to `ioremap'
>> s390-linux-ld: smc91c92_cs.c:(.text+0x3466): undefined reference to `iounmap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
cistpl.c:(.text+0x3b6): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x3ce): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x460): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x480): undefined reference to `iounmap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
cistpl.c:(.text+0x1688): undefined reference to `iounmap'
s390-linux-ld: drivers/watchdog/sirfsoc_wdt.o: in function `sirfsoc_wdt_probe':
sirfsoc_wdt.c:(.text+0x18e): undefined reference to `devm_ioremap_resource'

--
0-DAY CI Kernel Test Service
https://01.org/lkp