ll_temac_main.c:undefined reference to `devm_ioremap'
From: kernel test robot
Date: Sat Jun 20 2020 - 17:29:36 EST
Hi Johannes,
It's probably a bug fix that unveils the link errors.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4333a9b0b67bb4e8bcd91bdd80da80b0ec151162
commit: d0e20fd4c1db7cb28874402f78f39870d84398e9 um: Fix xor.h include
date: 7 weeks ago
config: um-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
git checkout d0e20fd4c1db7cb28874402f78f39870d84398e9
# save the attached .config to linux build tree
make W=1 ARCH=um
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
/usr/bin/ld: drivers/gpio/gpiolib.o: in function `gpiolib_dev_init':
gpiolib.c:(.init.text+0x180): undefined reference to `gpio_of_notifier'
/usr/bin/ld: drivers/net/ethernet/xilinx/ll_temac_main.o: in function `temac_probe':
>> ll_temac_main.c:(.text+0x1f84): undefined reference to `devm_ioremap'
>> /usr/bin/ld: ll_temac_main.c:(.text+0x2164): undefined reference to `devm_of_iomap'
/usr/bin/ld: drivers/net/ethernet/xilinx/xilinx_axienet_main.o: in function `axienet_probe':
xilinx_axienet_main.c:(.text+0x1593): undefined reference to `devm_ioremap_resource'
/usr/bin/ld: xilinx_axienet_main.c:(.text+0x1831): undefined reference to `devm_ioremap_resource'
/usr/bin/ld: xilinx_axienet_main.c:(.text+0x1a6b): undefined reference to `devm_ioremap_resource'
/usr/bin/ld: drivers/ptp/ptp_ines.o: in function `ines_ptp_ctrl_probe':
ptp_ines.c:(.text+0x17eb): undefined reference to `devm_ioremap_resource'
collect2: error: ld returned 1 exit status
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip