fmvj18x_cs.c:undefined reference to `ioremap'

From: kernel test robot
Date: Mon Mar 06 2023 - 11:47:39 EST


Hi Sebastian,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fe15c26ee26efa11741a7b632e9f23b01aca4cc6
commit: 71ba41c9b1d91042960e9d92a5c8f52dc8531eda s390/pci: provide support for MIO instructions
date: 3 years, 10 months ago
config: s390-buildonly-randconfig-r004-20230306 (https://download.01.org/0day-ci/archive/20230307/202303070034.im9tDu6N-lkp@xxxxxxxxx/config)
compiler: s390-linux-gcc (GCC) 12.1.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-12.1.0 make.cross W=1 O=build_dir ARCH=s390 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Link: https://lore.kernel.org/oe-kbuild-all/202303070034.im9tDu6N-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

s390-linux-ld: drivers/dma/ti/edma.o: in function `edma_probe':
edma.c:(.text+0x1fec): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/dma/ti/omap-dma.o: in function `omap_dma_probe':
omap-dma.c:(.text+0x5c): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_detach':
main.c:(.text+0x92): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0xd6): undefined reference to `iounmap'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `config_ipwireless':
main.c:(.text+0x268): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0x376): undefined reference to `iounmap'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_probe.part.0':
main.c:(.text+0x534): undefined reference to `ioremap'
s390-linux-ld: main.c:(.text+0x5e0): undefined reference to `ioremap'
s390-linux-ld: main.c:(.text+0x62c): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0x660): 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+0x190): undefined reference to `devm_ioremap_nocache'
s390-linux-ld: drivers/net/ethernet/fujitsu/fmvj18x_cs.o: in function `fmvj18x_release':
fmvj18x_cs.c:(.text+0x492): undefined reference to `iounmap'
s390-linux-ld: drivers/net/ethernet/fujitsu/fmvj18x_cs.o: in function `fmvj18x_get_hwinfo':
>> fmvj18x_cs.c:(.text+0xd1e): undefined reference to `ioremap'
s390-linux-ld: fmvj18x_cs.c:(.text+0xd88): undefined reference to `iounmap'
s390-linux-ld: fmvj18x_cs.c:(.text+0xe18): undefined reference to `iounmap'
s390-linux-ld: drivers/net/ethernet/fujitsu/fmvj18x_cs.o: in function `fmvj18x_config':
fmvj18x_cs.c:(.text+0x1196): undefined reference to `ioremap'
s390-linux-ld: fmvj18x_cs.c:(.text+0x11ea): undefined reference to `iounmap'
s390-linux-ld: drivers/net/ethernet/smsc/smc91c92_cs.o: in function `smc91c92_release':
smc91c92_cs.c:(.text+0x750): undefined reference to `iounmap'
s390-linux-ld: drivers/net/ethernet/smsc/smc91c92_cs.o: in function `smc91c92_config':
smc91c92_cs.c:(.text+0x23c2): undefined reference to `ioremap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
cistpl.c:(.text+0x466): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x49c): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x50e): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x520): undefined reference to `ioremap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
cistpl.c:(.text+0xd38): undefined reference to `iounmap'

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests