s390-linux-ld: ll_temac_main.c:undefined reference to `devm_platform_ioremap_resource'

From: kernel test robot
Date: Fri Feb 12 2021 - 17:43:29 EST


Hi Zhang,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: dcc0b49040c70ad827a7f3d58a21b01fdb14e749
commit: cc6596fc7295e9dcd78156ed42f9f8e1221f7530 net: ll_temac: Fix potential NULL dereference in temac_probe()
date: 9 weeks ago
config: s390-randconfig-p001-20210212 (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=cc6596fc7295e9dcd78156ed42f9f8e1221f7530
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout cc6596fc7295e9dcd78156ed42f9f8e1221f7530
# 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+0x468): undefined reference to `memremap'
s390-linux-ld: coherent.c:(.text+0x540): undefined reference to `memunmap'
s390-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory':
coherent.c:(.text+0x6a6): 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+0x4e): undefined reference to `of_iomap'
s390-linux-ld: irq-al-fic.c:(.init.text+0x2f2): undefined reference to `iounmap'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_detach':
main.c:(.text+0xa4): 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 `ipwireless_probe':
main.c:(.text+0x2cc): undefined reference to `ioremap'
s390-linux-ld: main.c:(.text+0x388): undefined reference to `ioremap'
s390-linux-ld: main.c:(.text+0x3dc): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0x420): undefined reference to `iounmap'
s390-linux-ld: drivers/tty/ipwireless/main.o: in function `ipwireless_attach':
main.c:(.text+0x6e2): undefined reference to `iounmap'
s390-linux-ld: main.c:(.text+0x728): undefined reference to `iounmap'
s390-linux-ld: drivers/char/xillybus/xillybus_of.o: in function `xilly_drv_probe':
xillybus_of.c:(.text+0x14e): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `com90xx_exit':
com90xx.c:(.exit.text+0x62): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `check_mirror':
com90xx.c:(.init.text+0x60): undefined reference to `ioremap'
s390-linux-ld: com90xx.c:(.init.text+0x86): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `com90xx_probe':
com90xx.c:(.init.text+0x798): undefined reference to `ioremap'
s390-linux-ld: com90xx.c:(.init.text+0x936): undefined reference to `iounmap'
s390-linux-ld: com90xx.c:(.init.text+0xdcc): undefined reference to `iounmap'
s390-linux-ld: com90xx.c:(.init.text+0xec8): undefined reference to `iounmap'
s390-linux-ld: com90xx.c:(.init.text+0xffc): undefined reference to `ioremap'
s390-linux-ld: com90xx.c:(.init.text+0x10d6): undefined reference to `iounmap'
s390-linux-ld: com90xx.c:(.init.text+0x12b6): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `arc_rimi_exit':
arc-rimi.c:(.exit.text+0x3e): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `arc_rimi_init':
arc-rimi.c:(.init.text+0x264): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.init.text+0x2ec): undefined reference to `iounmap'
s390-linux-ld: arc-rimi.c:(.init.text+0x46c): undefined reference to `iounmap'
s390-linux-ld: arc-rimi.c:(.init.text+0x4fc): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.init.text+0x5d6): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `check_mirror':
arc-rimi.c:(.text.unlikely+0x60): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.text.unlikely+0x86): 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+0x69a): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/net/ethernet/xilinx/ll_temac_main.o: in function `temac_probe':
ll_temac_main.c:(.text+0x18cc): undefined reference to `devm_platform_ioremap_resource_byname'
s390-linux-ld: ll_temac_main.c:(.text+0x1a4c): undefined reference to `devm_of_iomap'
>> s390-linux-ld: ll_temac_main.c:(.text+0x1b3a): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/net/ethernet/xilinx/ll_temac_mdio.o: in function `temac_mdio_setup':
ll_temac_mdio.c:(.text+0x292): undefined reference to `of_address_to_resource'
s390-linux-ld: drivers/net/ethernet/xilinx/xilinx_axienet_main.o: in function `axienet_probe':
xilinx_axienet_main.c:(.text+0x1604): undefined reference to `devm_ioremap_resource'
s390-linux-ld: xilinx_axienet_main.c:(.text+0x1818): undefined reference to `of_address_to_resource'
s390-linux-ld: xilinx_axienet_main.c:(.text+0x1850): undefined reference to `devm_ioremap_resource'
s390-linux-ld: xilinx_axienet_main.c:(.text+0x18ba): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
cistpl.c:(.text+0x3ae): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0x3e8): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x416): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0x428): undefined reference to `ioremap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
cistpl.c:(.text+0xefa): undefined reference to `iounmap'
s390-linux-ld: drivers/input/serio/apbps2.o: in function `apbps2_of_probe':
apbps2.c:(.text+0x29e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/input/touchscreen/imx6ul_tsc.o: in function `imx6ul_tsc_probe':
imx6ul_tsc.c:(.text+0x25e): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: imx6ul_tsc.c:(.text+0x29a): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_init':
timer-of.c:(.init.text+0x4e): undefined reference to `of_iomap'
s390-linux-ld: timer-of.c:(.init.text+0x33a): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_cleanup':
timer-of.c:(.init.text+0x426): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-microchip-pit64b.o: in function `mchp_pit64b_dt_init_timer':
timer-microchip-pit64b.c:(.init.text+0xa0): undefined reference to `of_iomap'
s390-linux-ld: timer-microchip-pit64b.c:(.init.text+0x526): undefined reference to `iounmap'

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

Attachment: .config.gz
Description: application/gzip