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

From: kernel test robot
Date: Sat Nov 14 2020 - 18:45:05 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f01c30de86f1047e9bae1b1b1417b0ce8dcd15b1
commit: 25831c44b0b79ac6261d36d7e777a52bdf92f239 mailbox: sun6i-msgbox: Add a new mailbox driver
date: 8 months ago
config: s390-randconfig-r014-20201115 (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: renesas-soc.c:(.init.text+0xf4): undefined reference to `ioremap'
s390-linux-ld: renesas-soc.c:(.init.text+0x108): undefined reference to `iounmap'
s390-linux-ld: drivers/soc/renesas/rcar-sysc.o: in function `rcar_sysc_pd_init':
rcar-sysc.c:(.init.text+0x7c): undefined reference to `of_iomap'
s390-linux-ld: drivers/regulator/stm32-vrefbuf.o: in function `stm32_vrefbuf_probe':
stm32-vrefbuf.c:(.text+0x290): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/regulator/stm32-pwr.o: in function `stm32_pwr_regulator_probe':
stm32-pwr.c:(.text+0x250): undefined reference to `of_iomap'
s390-linux-ld: drivers/regulator/uniphier-regulator.o: in function `uniphier_regulator_probe':
uniphier-regulator.c:(.text+0xd0): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/reset/reset-ath79.o: in function `ath79_reset_probe':
reset-ath79.c:(.text+0x8c): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-lpc18xx.o: in function `lpc18xx_rgu_probe':
reset-lpc18xx.c:(.text+0x106): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-meson.o: in function `meson_reset_probe':
reset-meson.c:(.text+0x86): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-meson-audio-arb.o: in function `meson_audio_arb_probe':
reset-meson-audio-arb.c:(.text+0xd6): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-npcm.o: in function `npcm_rc_probe':
reset-npcm.c:(.text+0x254): 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+0x116): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-simple.o: in function `reset_simple_probe':
reset-simple.c:(.text+0xa8): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-stm32mp1.o: in function `stm32_reset_probe':
reset-stm32mp1.c:(.text+0x11a): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/reset/reset-sunxi.o: in function `sun6i_reset_init':
reset-sunxi.c:(.init.text+0x6a): undefined reference to `of_address_to_resource'
s390-linux-ld: reset-sunxi.c:(.init.text+0xb6): undefined reference to `ioremap'
s390-linux-ld: drivers/reset/reset-uniphier-glue.o: in function `uniphier_glue_reset_probe':
reset-uniphier-glue.c:(.text+0x11a): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/mfd/syscon.o: in function `syscon_probe':
syscon.c:(.text+0x96): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/mfd/syscon.o: in function `of_syscon_register.isra.0':
syscon.c:(.text+0x1a6): undefined reference to `of_address_to_resource'
s390-linux-ld: syscon.c:(.text+0x1e6): undefined reference to `ioremap'
s390-linux-ld: syscon.c:(.text+0x374): undefined reference to `iounmap'
s390-linux-ld: drivers/mtd/nand/raw/mxic_nand.o: in function `mxic_nfc_probe':
mxic_nand.c:(.text+0x1fc): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/mtd/nand/raw/stm32_fmc2_nand.o: in function `stm32_fmc2_probe':
stm32_fmc2_nand.c:(.text+0x19ce): undefined reference to `devm_ioremap_resource'
s390-linux-ld: stm32_fmc2_nand.c:(.text+0x1a3e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: stm32_fmc2_nand.c:(.text+0x1a88): undefined reference to `devm_ioremap_resource'
s390-linux-ld: stm32_fmc2_nand.c:(.text+0x1ac6): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/mtd/nand/raw/meson_nand.o: in function `meson_nfc_probe':
meson_nand.c:(.text+0x44e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `set_cis_map':
cistpl.c:(.text+0xac4): undefined reference to `iounmap'
s390-linux-ld: cistpl.c:(.text+0xad6): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0xb38): undefined reference to `ioremap'
s390-linux-ld: cistpl.c:(.text+0xb52): undefined reference to `iounmap'
s390-linux-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
cistpl.c:(.text+0xcf8): undefined reference to `iounmap'
s390-linux-ld: drivers/input/serio/apbps2.o: in function `apbps2_of_probe':
apbps2.c:(.text+0x246): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/input/serio/olpc_apsp.o: in function `olpc_apsp_probe':
olpc_apsp.c:(.text+0x2dc): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/input/serio/sun4i-ps2.o: in function `sun4i_ps2_remove':
sun4i-ps2.c:(.text+0x40): undefined reference to `iounmap'
s390-linux-ld: drivers/input/serio/sun4i-ps2.o: in function `sun4i_ps2_probe':
sun4i-ps2.c:(.text+0x350): undefined reference to `ioremap'
s390-linux-ld: sun4i-ps2.c:(.text+0x4f2): undefined reference to `iounmap'
s390-linux-ld: drivers/crypto/atmel-aes.o: in function `atmel_aes_probe':
atmel-aes.c:(.text+0x7be): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/crypto/atmel-tdes.o: in function `atmel_tdes_probe':
atmel-tdes.c:(.text+0x856): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/crypto/img-hash.o: in function `img_hash_probe':
img-hash.c:(.text+0xd70): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: img-hash.c:(.text+0xda8): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/crypto/mediatek/mtk-platform.o: in function `mtk_crypto_probe':
mtk-platform.c:(.text+0x6f4): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/crypto/qcom-rng.o: in function `qcom_rng_probe':
qcom-rng.c:(.text+0x11c): 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+0x38): undefined reference to `of_iomap'
s390-linux-ld: timer-of.c:(.init.text+0x1f2): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_cleanup':
timer-of.c:(.init.text+0x276): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-davinci.o: in function `of_davinci_timer_register':
timer-davinci.c:(.init.text+0x2a): undefined reference to `of_address_to_resource'
s390-linux-ld: drivers/clocksource/timer-davinci.o: in function `davinci_timer_register':
timer-davinci.c:(.init.text+0x11e): undefined reference to `ioremap'
s390-linux-ld: drivers/clocksource/clps711x-timer.o: in function `clps711x_timer_init':
clps711x-timer.c:(.init.text+0x32): undefined reference to `of_iomap'
s390-linux-ld: drivers/clocksource/timer-zevio.o: in function `zevio_timer_init':
timer-zevio.c:(.init.text+0x44): undefined reference to `of_iomap'
s390-linux-ld: timer-zevio.c:(.init.text+0x86): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/bcm_kona_timer.o: in function `kona_timer_init':
bcm_kona_timer.c:(.init.text+0x60): undefined reference to `of_iomap'
s390-linux-ld: drivers/mailbox/imx-mailbox.o: in function `imx_mu_probe':
imx-mailbox.c:(.text+0x12c): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/mailbox/rockchip-mailbox.o: in function `rockchip_mbox_probe':
rockchip-mailbox.c:(.text+0x40e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/mailbox/bcm-pdc-mailbox.o: in function `pdc_probe':
bcm-pdc-mailbox.c:(.text+0x788): 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+0x102): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/mailbox/mtk-cmdq-mailbox.o: in function `cmdq_probe':
mtk-cmdq-mailbox.c:(.text+0x196): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/mailbox/sun6i-msgbox.o: in function `sun6i_msgbox_probe':
>> sun6i-msgbox.c:(.text+0x5f0): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/rpmsg/qcom_smd.o: in function `qcom_smd_channel_peek':
qcom_smd.c:(.text+0x680): undefined reference to `__ioread32_copy'
s390-linux-ld: qcom_smd.c:(.text+0x6aa): undefined reference to `__ioread32_copy'
s390-linux-ld: drivers/rpmsg/qcom_smd.o: in function `qcom_smd_write_fifo':
qcom_smd.c:(.text+0xc18): undefined reference to `__iowrite32_copy'
s390-linux-ld: qcom_smd.c:(.text+0xc3c): undefined reference to `__iowrite32_copy'
s390-linux-ld: drivers/fpga/socfpga-a10.o: in function `socfpga_a10_fpga_probe':
socfpga-a10.c:(.text+0x346): undefined reference to `devm_ioremap_resource'
s390-linux-ld: socfpga-a10.c:(.text+0x374): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/fpga/zynq-fpga.o: in function `zynq_fpga_probe':
zynq-fpga.c:(.text+0x53c): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/counter/ti-eqep.o: in function `ti_eqep_probe':
ti-eqep.c:(.text+0x464): undefined reference to `devm_platform_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