sun6i-msgbox.c:undefined reference to `devm_ioremap_resource'

From: kernel test robot
Date: Sat Nov 21 2020 - 09:29:46 EST


Hi Samuel,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 27bba9c532a8d21050b94224ffd310ad0058c353
commit: 25831c44b0b79ac6261d36d7e777a52bdf92f239 mailbox: sun6i-msgbox: Add a new mailbox driver
date: 8 months ago
config: s390-randconfig-r012-20201121 (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=25831c44b0b79ac6261d36d7e777a52bdf92f239
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 25831c44b0b79ac6261d36d7e777a52bdf92f239
# 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/irqchip/irq-renesas-irqc.o: in function `irqc_probe':
irq-renesas-irqc.c:(.text+0x50a): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/irqchip/irq-renesas-rza1.o: in function `rza1_irqc_probe':
irq-renesas-rza1.c:(.text+0xcc): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/phy/hisilicon/phy-histb-combphy.o: in function `histb_combphy_probe':
phy-histb-combphy.c:(.text+0x5c): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/phy/hisilicon/phy-hisi-inno-usb2.o: in function `hisi_inno_phy_probe':
phy-hisi-inno-usb2.c:(.text+0x4c): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/pinctrl/pxa/pinctrl-pxa27x.o: in function `pxa27x_pinctrl_probe':
pinctrl-pxa27x.c:(.text+0x90): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/pinctrl/pxa/pinctrl-pxa27x.o:pinctrl-pxa27x.c:(.text+0xae): more undefined references to `devm_platform_ioremap_resource' follow
s390-linux-ld: drivers/pinctrl/sh-pfc/core.o: in function `sh_pfc_probe':
core.c:(.text+0x21c): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/char/ipmi/bt-bmc.o: in function `bt_bmc_probe':
bt-bmc.c:(.text+0x796): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/soc/mediatek/mtk-scpsys.o: in function `scpsys_probe':
mtk-scpsys.c:(.text+0x860): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/soc/qcom/qcom-geni-se.o: in function `geni_se_probe':
qcom-geni-se.c:(.text+0xafa): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-ath79.o: in function `ath79_reset_probe':
reset-ath79.c:(.text+0x206): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-meson.o: in function `meson_reset_probe':
reset-meson.c:(.text+0x5a): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-npcm.o: in function `npcm_rc_probe':
reset-npcm.c:(.text+0x1ea): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/reset/reset-qcom-pdc.o: in function `qcom_pdc_reset_probe':
reset-qcom-pdc.c:(.text+0x17e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-simple.o: in function `reset_simple_probe':
reset-simple.c:(.text+0x202): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-stm32mp1.o: in function `stm32_reset_probe':
reset-stm32mp1.c:(.text+0x1d2): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/char/hw_random/npcm-rng.o: in function `npcm_rng_probe':
npcm-rng.c:(.text+0x2dc): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/mfd/syscon.o: in function `syscon_probe':
syscon.c:(.text+0x17e): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/power/reset/ocelot-reset.o: in function `ocelot_reset_probe':
ocelot-reset.c:(.text+0x12e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/watchdog/sama5d4_wdt.o: in function `sama5d4_wdt_probe':
sama5d4_wdt.c:(.text+0x674): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/davinci_wdt.o: in function `davinci_wdt_probe':
davinci_wdt.c:(.text+0x4c0): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/imx2_wdt.o: in function `imx2_wdt_probe':
imx2_wdt.c:(.init.text+0xd4): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/mtk_wdt.o: in function `mtk_wdt_probe':
mtk_wdt.c:(.text+0x318): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/watchdog/renesas_wdt.o: in function `rwdt_probe':
renesas_wdt.c:(.text+0x98): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/crypto/atmel-sha.o: in function `atmel_sha_probe':
atmel-sha.c:(.text+0xafe): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/crypto/img-hash.o: in function `img_hash_probe':
img-hash.c:(.text+0x11b0): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: img-hash.c:(.text+0x1214): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_init':
timer-of.c:(.init.text+0x16c): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_cleanup':
timer-of.c:(.init.text+0x23e): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-davinci.o: in function `davinci_timer_register':
timer-davinci.c:(.init.text+0xba): undefined reference to `ioremap'
s390-linux-ld: drivers/mailbox/bcm-pdc-mailbox.o: in function `pdc_probe':
bcm-pdc-mailbox.c:(.text+0xe3c): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/mailbox/qcom-apcs-ipc-mailbox.o: in function `qcom_apcs_ipc_probe':
qcom-apcs-ipc-mailbox.c:(.text+0x13e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/mailbox/sun6i-msgbox.o: in function `sun6i_msgbox_probe':
>> sun6i-msgbox.c:(.text+0xd24): undefined reference to `devm_ioremap_resource'

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

Attachment: .config.gz
Description: application/gzip