xilinx_axienet_main.c:undefined reference to `of_address_to_resource'
From: kernel test robot
Date: Wed Apr 14 2021 - 00:33:33 EST
Hi Robert,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 50987beca096a7ed4f453a6da245fd6a2fadedeb
commit: 57baf8cc70ea4cf5503c9d42f31f6a86d7f5ff1a net: axienet: Handle deferred probe on clock properly
date: 9 weeks ago
config: s390-randconfig-c023-20210414 (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=57baf8cc70ea4cf5503c9d42f31f6a86d7f5ff1a
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 57baf8cc70ea4cf5503c9d42f31f6a86d7f5ff1a
# 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: drivers/net/arcnet/com90xx.o: in function `com90xx_exit':
com90xx.c:(.exit.text+0xe6): 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+0xa8): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/com90xx.o: in function `com90xx_probe':
com90xx.c:(.init.text+0x1182): undefined reference to `ioremap'
s390-linux-ld: com90xx.c:(.init.text+0x15dc): undefined reference to `iounmap'
s390-linux-ld: com90xx.c:(.init.text+0x2234): undefined reference to `iounmap'
s390-linux-ld: com90xx.c:(.init.text+0x23b2): undefined reference to `iounmap'
s390-linux-ld: com90xx.c:(.init.text+0x26d6): undefined reference to `ioremap'
s390-linux-ld: com90xx.c:(.init.text+0x29ae): undefined reference to `iounmap'
s390-linux-ld: com90xx.c:(.init.text+0x2e28): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `arc_rimi_exit':
arc-rimi.c:(.exit.text+0x50): undefined reference to `iounmap'
s390-linux-ld: drivers/net/arcnet/arc-rimi.o: in function `arc_rimi_init':
arc-rimi.c:(.init.text+0x5ca): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.init.text+0x6c8): undefined reference to `iounmap'
s390-linux-ld: arc-rimi.c:(.init.text+0xac4): undefined reference to `iounmap'
s390-linux-ld: arc-rimi.c:(.init.text+0xc10): undefined reference to `ioremap'
s390-linux-ld: arc-rimi.c:(.init.text+0xeea): 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+0xa8): 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+0xe54): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/net/ethernet/fujitsu/fmvj18x_cs.o: in function `fmvj18x_release':
fmvj18x_cs.c:(.text+0x10d2): undefined reference to `iounmap'
s390-linux-ld: drivers/net/ethernet/fujitsu/fmvj18x_cs.o: in function `fmvj18x_config':
fmvj18x_cs.c:(.text+0x3096): undefined reference to `ioremap'
s390-linux-ld: fmvj18x_cs.c:(.text+0x3132): undefined reference to `iounmap'
s390-linux-ld: fmvj18x_cs.c:(.text+0x3896): undefined reference to `ioremap'
s390-linux-ld: fmvj18x_cs.c:(.text+0x3bba): undefined reference to `iounmap'
s390-linux-ld: fmvj18x_cs.c:(.text+0x3f62): undefined reference to `iounmap'
s390-linux-ld: drivers/net/ethernet/xilinx/ll_temac_main.o: in function `temac_probe':
ll_temac_main.c:(.text+0x6044): undefined reference to `devm_platform_ioremap_resource_byname'
s390-linux-ld: ll_temac_main.c:(.text+0x63fc): undefined reference to `devm_of_iomap'
s390-linux-ld: ll_temac_main.c:(.text+0x65ee): 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+0x3b0): 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+0x59dc): undefined reference to `of_address_to_resource'
s390-linux-ld: xilinx_axienet_main.c:(.text+0x5a18): undefined reference to `devm_ioremap_resource'
s390-linux-ld: xilinx_axienet_main.c:(.text+0x5b78): undefined reference to `devm_ioremap_resource'
s390-linux-ld: xilinx_axienet_main.c:(.text+0x6548): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/net/ethernet/xircom/xirc2ps_cs.o: in function `xirc2ps_release':
xirc2ps_cs.c:(.text+0x11e8): undefined reference to `iounmap'
s390-linux-ld: drivers/net/ethernet/xircom/xirc2ps_cs.o: in function `xirc2ps_config':
xirc2ps_cs.c:(.text+0x51ac): undefined reference to `ioremap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
cistpl.c:(.text+0x8f2): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0xa12): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0xab4): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0xb24): undefined reference to `ioremap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
cistpl.c:(.text+0x2aea): 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