pinctrl-mtk-common-v2.c:undefined reference to `devm_platform_ioremap_resource_byname'
From: kernel test robot
Date: Sun Nov 22 2020 - 20:59:58 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 418baf2c28f3473039f2f7377760bd8f6897ae18
commit: 48548c786572f96cae5b7238da5338aa11cc9d34 pinctrl: mediatek: use devm_platform_ioremap_resource_byname()
date: 8 weeks ago
config: s390-randconfig-r002-20201122 (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=48548c786572f96cae5b7238da5338aa11cc9d34
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 48548c786572f96cae5b7238da5338aa11cc9d34
# 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: arch/s390/appldata/appldata_base.o: in function `appldata_generic_handler':
appldata_base.c:(.text+0x1ba): undefined reference to `sysctl_vals'
s390-linux-ld: appldata_base.c:(.text+0x1cc): undefined reference to `sysctl_vals'
s390-linux-ld: kernel/dma/coherent.o: in function `dma_init_coherent_memory':
coherent.c:(.text+0x3b4): undefined reference to `memremap'
s390-linux-ld: coherent.c:(.text+0x488): undefined reference to `memunmap'
s390-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory':
coherent.c:(.text+0x5e6): undefined reference to `memunmap'
s390-linux-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt':
irq-al-fic.c:(.init.text+0x46): undefined reference to `of_iomap'
s390-linux-ld: irq-al-fic.c:(.init.text+0x308): undefined reference to `iounmap'
s390-linux-ld: drivers/irqchip/irq-jcore-aic.o: in function `aic_irq_of_init':
irq-jcore-aic.c:(.init.text+0x7a): undefined reference to `of_iomap'
s390-linux-ld: irq-jcore-aic.c:(.init.text+0xa4): undefined reference to `iounmap'
s390-linux-ld: drivers/irqchip/irq-renesas-intc-irqpin.o: in function `intc_irqpin_probe':
irq-renesas-intc-irqpin.c:(.text+0x47a): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/irqchip/irq-uniphier-aidet.o: in function `uniphier_aidet_probe':
irq-uniphier-aidet.c:(.text+0x432): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/irqchip/irq-imx-intmux.o: in function `imx_intmux_probe':
irq-imx-intmux.c:(.text+0x53a): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/phy/amlogic/phy-meson-axg-mipi-pcie-analog.o: in function `phy_axg_mipi_pcie_analog_probe':
phy-meson-axg-mipi-pcie-analog.c:(.text+0x222): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/broadcom/phy-brcm-sata.o: in function `brcm_sata_phy_probe':
phy-brcm-sata.c:(.text+0x12ea): undefined reference to `devm_ioremap_resource'
s390-linux-ld: phy-brcm-sata.c:(.text+0x158c): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/hisilicon/phy-histb-combphy.o: in function `histb_combphy_probe':
phy-histb-combphy.c:(.text+0x380): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/phy/marvell/phy-armada38x-comphy.o: in function `a38x_comphy_probe':
phy-armada38x-comphy.c:(.text+0x1a2): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: phy-armada38x-comphy.c:(.text+0x20a): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/mediatek/phy-mtk-tphy.o: in function `mtk_tphy_probe':
phy-mtk-tphy.c:(.text+0xb22): undefined reference to `of_address_to_resource'
s390-linux-ld: phy-mtk-tphy.c:(.text+0xb3e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: phy-mtk-tphy.c:(.text+0xca6): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/mediatek/phy-mtk-xsphy.o: in function `mtk_xsphy_probe':
phy-mtk-xsphy.c:(.text+0xa0c): undefined reference to `devm_ioremap_resource'
s390-linux-ld: phy-mtk-xsphy.c:(.text+0xb28): undefined reference to `of_address_to_resource'
s390-linux-ld: phy-mtk-xsphy.c:(.text+0xb44): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/qualcomm/phy-qcom-snps-femto-v2.o: in function `qcom_snps_hsphy_probe':
phy-qcom-snps-femto-v2.c:(.text+0x3aa): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/phy/renesas/phy-rcar-gen3-usb3.o: in function `rcar_gen3_phy_usb3_probe':
phy-rcar-gen3-usb3.c:(.text+0x196): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/rockchip/phy-rockchip-inno-hdmi.o: in function `inno_hdmi_phy_probe':
phy-rockchip-inno-hdmi.c:(.text+0x1f84): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/samsung/phy-exynos-pcie.o: in function `exynos_pcie_phy_probe':
phy-exynos-pcie.c:(.text+0x3e8): undefined reference to `devm_ioremap_resource'
s390-linux-ld: phy-exynos-pcie.c:(.text+0x440): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/tegra/phy-tegra194-p2u.o: in function `tegra_p2u_probe':
phy-tegra194-p2u.c:(.text+0xb6): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/phy/ti/phy-omap-control.o:phy-omap-control.c:(.text+0x35a): more undefined references to `devm_ioremap_resource' follow
s390-linux-ld: drivers/phy/ti/phy-am654-serdes.o: in function `serdes_am654_probe':
phy-am654-serdes.c:(.text+0x1560): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/pinctrl/pinctrl-at91-pio4.o: in function `atmel_pinctrl_probe':
pinctrl-at91-pio4.c:(.text+0x163c): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/pinctrl/pinctrl-bm1880.o: in function `bm1880_pinctrl_probe':
pinctrl-bm1880.c:(.text+0x902): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/pinctrl/pinctrl-lpc18xx.o: in function `lpc18xx_scu_probe':
pinctrl-lpc18xx.c:(.text+0xd22): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/pinctrl/pinctrl-ingenic.o: in function `ingenic_pinctrl_probe':
pinctrl-ingenic.c:(.init.text+0x6a): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/pinctrl/bcm/pinctrl-cygnus-mux.o:pinctrl-cygnus-mux.c:(.text+0x6f8): more undefined references to `devm_platform_ioremap_resource' follow
s390-linux-ld: drivers/pinctrl/berlin/berlin-bg4ct.o: in function `berlin4ct_pinctrl_probe':
berlin-bg4ct.c:(.text+0x74): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/pinctrl/berlin/pinctrl-as370.o: in function `as370_pinctrl_probe':
pinctrl-as370.c:(.text+0x74): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/pinctrl/samsung/pinctrl-samsung.o: in function `samsung_pinctrl_probe':
pinctrl-samsung.c:(.text+0x12a4): undefined reference to `devm_ioremap'
s390-linux-ld: drivers/pinctrl/samsung/pinctrl-exynos-arm.o: in function `s5pv210_retention_init':
pinctrl-exynos-arm.c:(.text+0x86): undefined reference to `of_iomap'
s390-linux-ld: drivers/pinctrl/mediatek/pinctrl-mtk-common.o: in function `mtk_pctrl_init':
pinctrl-mtk-common.c:(.text+0x1dc0): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.o: in function `mtk_build_eint':
>> pinctrl-mtk-common-v2.c:(.text+0x17c): undefined reference to `devm_platform_ioremap_resource_byname'
s390-linux-ld: drivers/pinctrl/mediatek/pinctrl-moore.o: in function `mtk_moore_pinctrl_probe':
>> pinctrl-moore.c:(.text+0xc08): undefined reference to `devm_platform_ioremap_resource_byname'
s390-linux-ld: drivers/pinctrl/mediatek/pinctrl-paris.o: in function `mtk_paris_pinctrl_probe':
>> pinctrl-paris.c:(.text+0x16ae): undefined reference to `devm_platform_ioremap_resource_byname'
s390-linux-ld: drivers/gpio/gpiolib-of.o: in function `of_mm_gpiochip_add_data':
gpiolib-of.c:(.text+0x7a): undefined reference to `of_iomap'
s390-linux-ld: gpiolib-of.c:(.text+0x112): undefined reference to `iounmap'
s390-linux-ld: drivers/gpio/gpiolib-of.o: in function `of_mm_gpiochip_remove':
gpiolib-of.c:(.text+0x15c): undefined reference to `iounmap'
s390-linux-ld: drivers/clk/clk-axi-clkgen.o: in function `axi_clkgen_probe':
clk-axi-clkgen.c:(.text+0x45e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/clk/clk-bm1880.o: in function `bm1880_clk_probe':
clk-bm1880.c:(.text+0x33c): undefined reference to `devm_ioremap_resource'
s390-linux-ld: clk-bm1880.c:(.text+0x392): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/clk/clk-fsl-sai.o: in function `fsl_sai_clk_probe':
clk-fsl-sai.c:(.text+0x62): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/clk/clk-plldig.o: in function `plldig_clk_probe':
clk-plldig.c:(.text+0x2e2): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/clk/bcm/clk-bcm63xx-gate.o: in function `clk_bcm63xx_probe':
clk-bcm63xx-gate.c:(.text+0x19e): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/clk/bcm/clk-kona-setup.o: in function `kona_dt_ccu_setup':
clk-kona-setup.c:(.init.text+0x38): undefined reference to `of_address_to_resource'
s390-linux-ld: clk-kona-setup.c:(.init.text+0x1c8): undefined reference to `ioremap'
s390-linux-ld: clk-kona-setup.c:(.init.text+0x592): undefined reference to `iounmap'
s390-linux-ld: drivers/clk/bcm/clk-iproc-armpll.o: in function `iproc_armpll_setup':
clk-iproc-armpll.c:(.init.text+0x82): undefined reference to `of_iomap'
s390-linux-ld: clk-iproc-armpll.c:(.init.text+0x19e): undefined reference to `iounmap'
s390-linux-ld: drivers/clk/bcm/clk-iproc-pll.o: in function `iproc_pll_clk_setup':
clk-iproc-pll.c:(.text+0x122e): undefined reference to `of_iomap'
s390-linux-ld: clk-iproc-pll.c:(.text+0x126e): undefined reference to `of_iomap'
s390-linux-ld: clk-iproc-pll.c:(.text+0x14f2): undefined reference to `iounmap'
s390-linux-ld: clk-iproc-pll.c:(.text+0x1508): undefined reference to `iounmap'
s390-linux-ld: clk-iproc-pll.c:(.text+0x151e): undefined reference to `iounmap'
s390-linux-ld: clk-iproc-pll.c:(.text+0x152a): undefined reference to `iounmap'
s390-linux-ld: clk-iproc-pll.c:(.text+0x159e): undefined reference to `of_iomap'
s390-linux-ld: clk-iproc-pll.c:(.text+0x15ec): undefined reference to `of_iomap'
s390-linux-ld: drivers/clk/bcm/clk-iproc-asiu.o: in function `iproc_asiu_setup':
clk-iproc-asiu.c:(.init.text+0x17a): undefined reference to `of_iomap'
s390-linux-ld: clk-iproc-asiu.c:(.init.text+0x1ba): undefined reference to `of_iomap'
s390-linux-ld: clk-iproc-asiu.c:(.init.text+0x3bc): undefined reference to `iounmap'
s390-linux-ld: clk-iproc-asiu.c:(.init.text+0x3e2): undefined reference to `iounmap'
s390-linux-ld: drivers/clk/bcm/clk-bcm2711-dvp.o: in function `clk_dvp_probe':
clk-bcm2711-dvp.c:(.text+0xce): undefined reference to `devm_platform_get_and_ioremap_resource'
s390-linux-ld: drivers/clk/ingenic/cgu.o: in function `ingenic_cgu_new':
cgu.c:(.text+0x16a0): undefined reference to `of_iomap'
s390-linux-ld: drivers/clk/mediatek/clk-pll.o: in function `mtk_clk_register_plls':
clk-pll.c:(.text+0x69e): undefined reference to `of_iomap'
s390-linux-ld: drivers/clk/mediatek/clk-mt6765.o: in function `clk_mt6765_ifr_probe':
clk-mt6765.c:(.text+0x3e): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/clk/mediatek/clk-mt6765.o: in function `clk_mt6765_top_probe':
clk-mt6765.c:(.text+0x136): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/clk/mediatek/clk-mt6765.o: in function `clk_mt6765_apmixed_probe':
clk-mt6765.c:(.text+0x2a6): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/clk/mediatek/clk-mt6797.o: in function `mtk_topckgen_init':
clk-mt6797.c:(.text+0x170): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/clk/mediatek/clk-mt7622.o: in function `mtk_pericfg_init':
clk-mt7622.c:(.text+0x168): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/clk/mediatek/clk-mt7622.o: in function `mtk_topckgen_init':
clk-mt7622.c:(.text+0x3d0): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/clk/mediatek/clk-mt7629.o: in function `mtk_pericfg_init':
clk-mt7629.c:(.text+0x140): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/clk/mediatek/clk-mt7629.o: in function `mtk_topckgen_init':
clk-mt7629.c:(.text+0x380): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/clk/mediatek/clk-mt8183.o:clk-mt8183.c:(.text+0x28): more undefined references to `devm_platform_ioremap_resource' follow
s390-linux-ld: drivers/clk/mediatek/clk-mt8516.o: in function `mtk_topckgen_init':
clk-mt8516.c:(.init.text+0x26): undefined reference to `of_iomap'
s390-linux-ld: drivers/clk/mediatek/clk-mt8516.o: in function `mtk_infracfg_init':
clk-mt8516.c:(.init.text+0x13e): undefined reference to `of_iomap'
s390-linux-ld: drivers/clk/mediatek/clk-mt8516.o: in function `mtk_apmixedsys_init':
clk-mt8516.c:(.init.text+0x1f6): undefined reference to `of_iomap'
s390-linux-ld: drivers/clk/qcom/common.o: in function `qcom_cc_map':
common.c:(.text+0xe8): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/clk/qcom/common.o: in function `qcom_cc_probe_by_index':
common.c:(.text+0x7c4): undefined reference to `devm_ioremap_resource'
s390-linux-ld: drivers/clk/qcom/apss-ipq-pll.o: in function `apss_ipq_pll_probe':
apss-ipq-pll.c:(.text+0x2a): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/clk/renesas/clk-rz.o: in function `rz_cpg_clocks_init':
clk-rz.c:(.init.text+0x11a): undefined reference to `of_iomap'
s390-linux-ld: clk-rz.c:(.init.text+0x17a): undefined reference to `ioremap'
s390-linux-ld: clk-rz.c:(.init.text+0x18e): undefined reference to `ioremap'
s390-linux-ld: clk-rz.c:(.init.text+0x1f2): undefined reference to `iounmap'
s390-linux-ld: clk-rz.c:(.init.text+0x1fc): undefined reference to `iounmap'
s390-linux-ld: drivers/clk/renesas/clk-r8a7740.o: in function `r8a7740_cpg_clocks_init':
clk-r8a7740.c:(.init.text+0x12a): undefined reference to `of_iomap'
s390-linux-ld: drivers/clk/renesas/clk-r8a7778.o: in function `r8a7778_cpg_clocks_init':
clk-r8a7778.c:(.init.text+0x164): undefined reference to `of_iomap'
s390-linux-ld: drivers/clk/renesas/r9a06g032-clocks.o: in function `r9a06g032_clocks_probe':
r9a06g032-clocks.c:(.init.text+0x128): undefined reference to `of_iomap'
s390-linux-ld: drivers/clk/renesas/rcar-usb2-clock-sel.o: in function `rcar_usb2_clock_sel_probe':
rcar-usb2-clock-sel.c:(.text+0x320): undefined reference to `devm_platform_ioremap_resource'
s390-linux-ld: drivers/clk/renesas/renesas-cpg-mssr.o: in function `cpg_mssr_common_init':
renesas-cpg-mssr.c:(.init.text+0x37a): undefined reference to `of_iomap'
s390-linux-ld: renesas-cpg-mssr.c:(.init.text+0x41a): undefined reference to `iounmap'
s390-linux-ld: drivers/clk/renesas/clk-mstp.o: in function `cpg_mstp_clocks_init':
clk-mstp.c:(.init.text+0x84): undefined reference to `of_iomap'
s390-linux-ld: clk-mstp.c:(.init.text+0x98): undefined reference to `of_iomap'
s390-linux-ld: drivers/clk/renesas/clk-div6.o: in function `cpg_div6_clock_init':
clk-div6.c:(.init.text+0x24a): undefined reference to `of_iomap'
s390-linux-ld: clk-div6.c:(.init.text+0x32e): undefined reference to `iounmap'
s390-linux-ld: drivers/clk/samsung/clk.o: in function `samsung_cmu_register_one':
clk.c:(.init.text+0x88a): undefined reference to `of_iomap'
s390-linux-ld: drivers/clk/samsung/clk-exynos5433.o: in function `exynos5433_cmu_apollo_init':
clk-exynos5433.c:(.init.text+0xe6): undefined reference to `of_iomap'
s390-linux-ld: drivers/clk/samsung/clk-exynos5433.o: in function `exynos5433_cmu_atlas_init':
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip