linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 4170/7280] pwm-brcmstb.c:undefined reference to `devm_platform_ioremap_resource'
@ 2020-11-20 12:33 kernel test robot
  2020-11-20 12:57 ` Uwe Kleine-König
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-11-20 12:33 UTC (permalink / raw)
  To: Yangtao Li
  Cc: kbuild-all, Linux Memory Management List, Thierry Reding,
	Nicolas Saenz Julienne, Uwe Kleine-König

[-- Attachment #1: Type: text/plain, Size: 18204 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   95065cb54210eba86bed10cb2118041524d54573
commit: 0e74dcd8333d794fdbc4bef69d17431404a01a6f [4170/7280] pwm: brcmstb: Convert to devm_platform_ioremap_resource()
config: s390-randconfig-r034-20201120 (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/next/linux-next.git/commit/?id=0e74dcd8333d794fdbc4bef69d17431404a01a6f
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 0e74dcd8333d794fdbc4bef69d17431404a01a6f
        # 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@intel.com>

Note: the linux-next/master HEAD 95065cb54210eba86bed10cb2118041524d54573 builds fine.
      It may have been fixed somewhere.

All errors (new ones prefixed by >>):

   s390-linux-ld: kernel/dma/coherent.o: in function `dma_init_coherent_memory':
   coherent.c:(.text+0x524): undefined reference to `memremap'
   s390-linux-ld: coherent.c:(.text+0x60e): undefined reference to `memunmap'
   s390-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory':
   coherent.c:(.text+0x7ae): 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+0x3a): undefined reference to `of_iomap'
   s390-linux-ld: irq-al-fic.c:(.init.text+0x250): undefined reference to `iounmap'
   s390-linux-ld: drivers/irqchip/exynos-combiner.o: in function `combiner_of_init':
   exynos-combiner.c:(.init.text+0x2a): undefined reference to `of_iomap'
   s390-linux-ld: drivers/irqchip/irq-renesas-irqc.o: in function `irqc_probe':
   irq-renesas-irqc.c:(.text+0x1f8): 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+0x3fa): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/irqchip/irq-renesas-h8s.o: in function `h8s_intc_of_init':
   irq-renesas-h8s.c:(.init.text+0x2a): undefined reference to `of_iomap'
   s390-linux-ld: drivers/irqchip/irq-imx-irqsteer.o: in function `imx_irqsteer_probe':
   irq-imx-irqsteer.c:(.text+0x54e): 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+0x5d2): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/phy/amlogic/phy-meson-g12a-usb2.o: in function `phy_meson_g12a_usb2_probe':
   phy-meson-g12a-usb2.c:(.text+0xa6): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/phy/amlogic/phy-meson-g12a-usb3-pcie.o: in function `phy_g12a_usb3_pcie_probe':
   phy-meson-g12a-usb3-pcie.c:(.text+0x620): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/phy/amlogic/phy-meson-axg-pcie.o: in function `phy_axg_pcie_probe':
   phy-meson-axg-pcie.c:(.text+0x2a0): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/phy/broadcom/phy-bcm63xx-usbh.o: in function `bcm63xx_usbh_phy_probe':
   phy-bcm63xx-usbh.c:(.init.text+0xa8): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/phy/broadcom/phy-bcm-cygnus-pcie.o: in function `cygnus_pcie_phy_probe':
   phy-bcm-cygnus-pcie.c:(.text+0xb0): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/phy/broadcom/phy-bcm-ns2-usbdrd.o: in function `ns2_drd_phy_probe':
   phy-bcm-ns2-usbdrd.c:(.text+0x732): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: phy-bcm-ns2-usbdrd.c:(.text+0x786): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: phy-bcm-ns2-usbdrd.c:(.text+0x7d0): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: phy-bcm-ns2-usbdrd.c:(.text+0x81a): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/phy/broadcom/phy-brcm-sata.o:phy-brcm-sata.c:(.text+0xb98): more undefined references to `devm_ioremap_resource' follow
   s390-linux-ld: drivers/phy/hisilicon/phy-histb-combphy.o: in function `histb_combphy_probe':
   phy-histb-combphy.c:(.text+0x21e): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/phy/marvell/phy-mmp3-usb.o: in function `mmp3_usb_phy_probe':
   phy-mmp3-usb.c:(.text+0x92): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/phy/marvell/phy-mvebu-a3700-utmi.o: in function `mvebu_a3700_utmi_phy_probe':
   phy-mvebu-a3700-utmi.c:(.text+0x178): 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+0x190): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: phy-armada38x-comphy.c:(.text+0x20e): 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+0x14a8): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: phy-mtk-tphy.c:(.text+0x161e): undefined reference to `of_address_to_resource'
   s390-linux-ld: phy-mtk-tphy.c:(.text+0x1654): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/phy/qualcomm/phy-qcom-ipq4019-usb.o: in function `ipq4019_usb_phy_probe':
   phy-qcom-ipq4019-usb.c:(.text+0x1d8): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/phy/qualcomm/phy-qcom-pcie2.o: in function `qcom_pcie2_phy_probe':
   phy-qcom-pcie2.c:(.text+0x560): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/phy/qualcomm/phy-qcom-qmp.o: in function `qcom_qmp_phy_probe':
   phy-qcom-qmp.c:(.text+0x1024): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: phy-qcom-qmp.c:(.text+0x10aa): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: phy-qcom-qmp.c:(.text+0x1102): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: phy-qcom-qmp.c:(.text+0x16f6): undefined reference to `of_iomap'
   s390-linux-ld: phy-qcom-qmp.c:(.text+0x1716): undefined reference to `of_iomap'
   s390-linux-ld: phy-qcom-qmp.c:(.text+0x1736): undefined reference to `of_iomap'
   s390-linux-ld: phy-qcom-qmp.c:(.text+0x1776): undefined reference to `of_iomap'
   s390-linux-ld: phy-qcom-qmp.c:(.text+0x178a): undefined reference to `of_iomap'
   s390-linux-ld: drivers/phy/qualcomm/phy-qcom-qmp.o:phy-qcom-qmp.c:(.text+0x196a): more undefined references to `of_iomap' follow
   s390-linux-ld: drivers/phy/qualcomm/phy-qcom-usb-ss.o: in function `qcom_ssphy_probe':
   phy-qcom-usb-ss.c:(.text+0xac): undefined reference to `devm_platform_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+0x360): 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+0x2ac): 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+0x53c): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: phy-exynos-pcie.c:(.text+0x5a0): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/phy/samsung/phy-samsung-ufs.o: in function `samsung_ufs_phy_probe':
   phy-samsung-ufs.c:(.text+0x22c): undefined reference to `devm_platform_ioremap_resource_byname'
   s390-linux-ld: drivers/phy/st/phy-stm32-usbphyc.o: in function `stm32_usbphyc_probe':
   phy-stm32-usbphyc.c:(.text+0x49c): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/phy/ti/phy-omap-control.o: in function `omap_control_phy_probe':
   phy-omap-control.c:(.text+0xcc): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: phy-omap-control.c:(.text+0x120): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: phy-omap-control.c:(.text+0x198): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/phy/ti/phy-ti-pipe3.o: in function `ti_pipe3_probe':
   phy-ti-pipe3.c:(.text+0xd22): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/phy/ti/phy-ti-pipe3.o:phy-ti-pipe3.c:(.text+0xd90): 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+0x1048): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/phy/xilinx/phy-zynqmp.o: in function `xpsgtr_probe':
   phy-zynqmp.c:(.text+0x4d6): undefined reference to `devm_platform_ioremap_resource_byname'
   s390-linux-ld: phy-zynqmp.c:(.text+0x518): undefined reference to `devm_platform_ioremap_resource_byname'
   s390-linux-ld: drivers/pwm/pwm-atmel.o: in function `atmel_pwm_probe':
   pwm-atmel.c:(.text+0x286): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/pwm/pwm-bcm-iproc.o: in function `iproc_pwmc_probe':
   pwm-bcm-iproc.c:(.text+0x216): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/pwm/pwm-berlin.o: in function `berlin_pwm_probe':
   pwm-berlin.c:(.text+0x3b0): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/pwm/pwm-brcmstb.o: in function `brcmstb_pwm_probe':
>> pwm-brcmstb.c:(.text+0x466): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/pwm/pwm-ep93xx.o: in function `ep93xx_pwm_probe':
   pwm-ep93xx.c:(.text+0x170): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/pwm/pwm-imx27.o: in function `pwm_imx27_probe':
   pwm-imx27.c:(.text+0x30a): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/pwm/pwm-lpc18xx-sct.o: in function `lpc18xx_pwm_probe':
   pwm-lpc18xx-sct.c:(.text+0x428): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/pwm/pwm-mediatek.o: in function `pwm_mediatek_probe':
   pwm-mediatek.c:(.text+0x322): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/pwm/pwm-pxa.o: in function `pwm_probe':
   pwm-pxa.c:(.text+0x19e): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/pwm/pwm-samsung.o: in function `pwm_samsung_probe':
   pwm-samsung.c:(.text+0x5d6): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/pwm/pwm-sifive.o: in function `pwm_sifive_probe':
   pwm-sifive.c:(.text+0x268): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/pwm/pwm-spear.o: in function `spear_pwm_probe':
   pwm-spear.c:(.text+0x18e): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/pwm/pwm-sti.o: in function `sti_pwm_probe':
   pwm-sti.c:(.text+0xc7c): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/pwm/pwm-tegra.o: in function `tegra_pwm_probe':
   pwm-tegra.c:(.text+0x13e): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/pwm/pwm-tiecap.o: in function `ecap_pwm_probe':
   pwm-tiecap.c:(.text+0x1a0): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/clk/clk-axi-clkgen.o: in function `axi_clkgen_probe':
   clk-axi-clkgen.c:(.text+0x5f8): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/clk/clk-fixed-mmio.o: in function `fixed_mmio_clk_setup':
   clk-fixed-mmio.c:(.text+0x36): undefined reference to `of_iomap'
   s390-linux-ld: clk-fixed-mmio.c:(.text+0x58): undefined reference to `iounmap'
   s390-linux-ld: drivers/clk/clk-fsl-sai.o: in function `fsl_sai_clk_probe':
   clk-fsl-sai.c:(.text+0x68): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/clk/clk-gemini.o: in function `gemini_clk_probe':
   clk-gemini.c:(.text+0x478): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/clk/clk-plldig.o: in function `plldig_clk_probe':
   clk-plldig.c:(.text+0x50): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/clk/clk-qoriq.o: in function `_clockgen_init':
   clk-qoriq.c:(.init.text+0x904): undefined reference to `of_iomap'
   s390-linux-ld: clk-qoriq.c:(.init.text+0x9f8): undefined reference to `iounmap'
   s390-linux-ld: clk-qoriq.c:(.init.text+0xa52): undefined reference to `ioremap'
   s390-linux-ld: clk-qoriq.c:(.init.text+0x1302): undefined reference to `of_iomap'
   s390-linux-ld: drivers/clk/clk-qoriq.o: in function `core_mux_init':
   clk-qoriq.c:(.init.text+0x1528): undefined reference to `of_address_to_resource'
   s390-linux-ld: drivers/clk/clk-qoriq.o: in function `core_pll_init':
   clk-qoriq.c:(.init.text+0x176e): undefined reference to `of_address_to_resource'
   s390-linux-ld: drivers/clk/clk-xgene.o: in function `xgene_pmdclk_init':
   clk-xgene.c:(.text+0x912): undefined reference to `of_address_to_resource'
   s390-linux-ld: clk-xgene.c:(.text+0x93e): undefined reference to `of_iomap'
   s390-linux-ld: clk-xgene.c:(.text+0x9fa): undefined reference to `iounmap'
   s390-linux-ld: drivers/clk/clk-xgene.o: in function `xgene_pllclk_init':
   clk-xgene.c:(.text+0xaa2): undefined reference to `of_iomap'
   s390-linux-ld: drivers/clk/clk-xgene.o: in function `xgene_devclk_init':
   clk-xgene.c:(.init.text+0x7c): undefined reference to `of_address_to_resource'
   s390-linux-ld: clk-xgene.c:(.init.text+0xdc): undefined reference to `of_iomap'
   s390-linux-ld: clk-xgene.c:(.init.text+0x3b2): undefined reference to `iounmap'
   s390-linux-ld: clk-xgene.c:(.init.text+0x3d2): undefined reference to `iounmap'
   s390-linux-ld: drivers/clk/bcm/clk-kona-setup.o: in function `kona_dt_ccu_setup':
   clk-kona-setup.c:(.init.text+0x3c): undefined reference to `of_address_to_resource'
   s390-linux-ld: clk-kona-setup.c:(.init.text+0x188): undefined reference to `ioremap'
   s390-linux-ld: clk-kona-setup.c:(.init.text+0xd18): 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+0x48): undefined reference to `of_iomap'
   s390-linux-ld: clk-iproc-armpll.c:(.init.text+0x138): 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+0x183c): undefined reference to `of_iomap'
   s390-linux-ld: clk-iproc-pll.c:(.text+0x185c): undefined reference to `of_iomap'
   s390-linux-ld: clk-iproc-pll.c:(.text+0x18bc): undefined reference to `of_iomap'
   s390-linux-ld: clk-iproc-pll.c:(.text+0x18e8): undefined reference to `iounmap'
   s390-linux-ld: clk-iproc-pll.c:(.text+0x1900): undefined reference to `of_iomap'
   s390-linux-ld: clk-iproc-pll.c:(.text+0x192c): undefined reference to `iounmap'
   s390-linux-ld: clk-iproc-pll.c:(.text+0x193e): undefined reference to `iounmap'
   s390-linux-ld: clk-iproc-pll.c:(.text+0x1ae2): undefined reference to `iounmap'
   s390-linux-ld: drivers/clk/bcm/clk-iproc-asiu.o: in function `iproc_asiu_setup':
   clk-iproc-asiu.c:(.init.text+0xd8): undefined reference to `of_iomap'
   s390-linux-ld: clk-iproc-asiu.c:(.init.text+0xf8): undefined reference to `of_iomap'
   s390-linux-ld: clk-iproc-asiu.c:(.init.text+0x32a): undefined reference to `iounmap'
   s390-linux-ld: clk-iproc-asiu.c:(.init.text+0x33c): undefined reference to `iounmap'
   s390-linux-ld: drivers/clk/bcm/clk-bcm2711-dvp.o: in function `clk_dvp_probe':
   clk-bcm2711-dvp.c:(.text+0xf4): undefined reference to `devm_platform_get_and_ioremap_resource'
   s390-linux-ld: drivers/clk/bcm/clk-bcm2835.o: in function `bcm2835_debugfs_regset':
   clk-bcm2835.c:(.text+0xda2): undefined reference to `debugfs_create_regset32'
   s390-linux-ld: drivers/clk/bcm/clk-bcm2835.o: in function `bcm2835_clk_probe':
   clk-bcm2835.c:(.text+0x1154): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/clk/bcm/clk-bcm2835-aux.o: in function `bcm2835_aux_clk_probe':
   clk-bcm2835-aux.c:(.text+0x88): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/clk/imx/clk-imx8mp.o: in function `imx8mp_clocks_probe':
   clk-imx8mp.c:(.text+0x386): undefined reference to `of_iomap'
   s390-linux-ld: clk-imx8mp.c:(.text+0x3b4): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: clk-imx8mp.c:(.text+0x3e0): undefined reference to `iounmap'
   s390-linux-ld: clk-imx8mp.c:(.text+0x42a): undefined reference to `iounmap'
   s390-linux-ld: drivers/clk/ingenic/cgu.o: in function `ingenic_cgu_new':
   cgu.c:(.text+0x1660): undefined reference to `of_iomap'
   s390-linux-ld: drivers/clk/mediatek/clk-pll.o: in function `mtk_clk_register_plls':
   clk-pll.c:(.text+0x946): undefined reference to `of_iomap'
   s390-linux-ld: drivers/clk/mediatek/clk-mt6765.o: in function `clk_mt6765_ifr_probe':
   clk-mt6765.c:(.text+0x42): 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+0x172): 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+0x2aa): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/clk/mediatek/clk-mt6779.o: in function `clk_mt6779_top_probe':
   clk-mt6779.c:(.text+0x98): undefined reference to `devm_platform_ioremap_resource'
   s390-linux-ld: drivers/clk/mediatek/clk-mt6797.o: in function `mtk_topckgen_init':

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 19772 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-next:master 4170/7280] pwm-brcmstb.c:undefined reference to `devm_platform_ioremap_resource'
  2020-11-20 12:33 [linux-next:master 4170/7280] pwm-brcmstb.c:undefined reference to `devm_platform_ioremap_resource' kernel test robot
@ 2020-11-20 12:57 ` Uwe Kleine-König
  0 siblings, 0 replies; 2+ messages in thread
From: Uwe Kleine-König @ 2020-11-20 12:57 UTC (permalink / raw)
  To: kernel test robot
  Cc: Yangtao Li, kbuild-all, Linux Memory Management List,
	Thierry Reding, Nicolas Saenz Julienne

[-- Attachment #1: Type: text/plain, Size: 2486 bytes --]

On Fri, Nov 20, 2020 at 08:33:46PM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   95065cb54210eba86bed10cb2118041524d54573
> commit: 0e74dcd8333d794fdbc4bef69d17431404a01a6f [4170/7280] pwm: brcmstb: Convert to devm_platform_ioremap_resource()
> config: s390-randconfig-r034-20201120 (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/next/linux-next.git/commit/?id=0e74dcd8333d794fdbc4bef69d17431404a01a6f
>         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>         git fetch --no-tags linux-next master
>         git checkout 0e74dcd8333d794fdbc4bef69d17431404a01a6f
>         # 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@intel.com>
> 
> Note: the linux-next/master HEAD 95065cb54210eba86bed10cb2118041524d54573 builds fine.
>       It may have been fixed somewhere.

This is indeed the case,

	ffc32cb0e1f6 pwm: Fix dependencies on HAS_IOMEM

is supposed to fix this.

>    s390-linux-ld: drivers/pwm/pwm-brcmstb.o: in function `brcmstb_pwm_probe':
> >> pwm-brcmstb.c:(.text+0x466): undefined reference to `devm_platform_ioremap_resource'

I expect that before the blamed commit (0e74dcd8333d ("pwm: brcmstb:
Convert to devm_platform_ioremap_resource()")) the driver failed with:

	pwm-brcmstb.c:(.text+0xfoo): undefined reference to `devm_ioremap_resource'

so it probably makes little sense to ensure the commit "pwm: Fix
dependencies on HAS_IOMEM" comes before "pwm: brcmstb: Convert to
devm_platform_ioremap_resource()" (and the other similar conversions).
The only upside of rewriting the pwm-next tree would be that
autobuilders wouldn't stumble because the error changed. Hardly good
enough a reason, still more as the dependency is missing for quite some
time already I guess.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-20 12:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-20 12:33 [linux-next:master 4170/7280] pwm-brcmstb.c:undefined reference to `devm_platform_ioremap_resource' kernel test robot
2020-11-20 12:57 ` Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).