litex_liteeth.c:undefined reference to `devm_platform_ioremap_resource_byname'

From: kernel test robot
Date: Sun Feb 06 2022 - 19:38:18 EST


Hi Cai,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: dfd42facf1e4ada021b939b4e19c935dcdd55566
commit: 464a57281f29afc202905b456b0cb8bc729b383a net/mlxbf_gige: Make use of devm_platform_ioremap_resourcexxx()
date: 5 months ago
config: s390-randconfig-r012-20220207 (https://download.01.org/0day-ci/archive/20220207/202202070822.w4rpU462-lkp@xxxxxxxxx/config)
compiler: s390-linux-gcc (GCC) 11.2.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=464a57281f29afc202905b456b0cb8bc729b383a
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 464a57281f29afc202905b456b0cb8bc729b383a
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross 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/dma/idma64.o: in function `idma64_platform_probe':
idma64.c:(.text+0x2456): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/net/ethernet/litex/litex_liteeth.o: in function `liteeth_probe':
>> litex_liteeth.c:(.text+0x1b0): undefined reference to `devm_platform_ioremap_resource_byname'
>> s390-linux-ld: litex_liteeth.c:(.text+0x1ee): undefined reference to `devm_platform_ioremap_resource_byname'
s390-linux-ld: drivers/input/keyboard/samsung-keypad.o: in function `samsung_keypad_probe':
samsung-keypad.c:(.text+0x1702): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/crypto/ccree/cc_driver.o: in function `init_cc_resources':
cc_driver.c:(.text+0xe40): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/crypto/ccree/cc_debugfs.o: in function `cc_debugfs_init':
cc_debugfs.c:(.text+0x188): undefined reference to `debugfs_create_regset32'
s390-linux-ld: cc_debugfs.c:(.text+0x2d0): undefined reference to `debugfs_create_regset32'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_init':
timer-of.c:(.init.text+0x182): undefined reference to `of_iomap'
s390-linux-ld: timer-of.c:(.init.text+0x8b4): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_cleanup':
timer-of.c:(.init.text+0xa42): 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+0x578): undefined reference to `of_iomap'
s390-linux-ld: timer-microchip-pit64b.c:(.init.text+0xdf8): undefined reference to `iounmap'

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