Re: Build regressions/improvements in v5.8-rc6

From: Johannes Berg
Date: Mon Jul 20 2020 - 13:21:00 EST


On Mon, 2020-07-20 at 16:01 +0200, Geert Uytterhoeven wrote:
> On Mon, Jul 20, 2020 at 3:12 PM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
> > JFYI, when comparing v5.8-rc6[1] to v5.8-rc5[3], the summaries are:
> > - build errors: +6/-3
>
> + error: modpost: "devm_ioremap"
> [drivers/net/ethernet/xilinx/ll_temac.ko] undefined!: => N/A
> + error: modpost: "devm_ioremap_resource"
> [drivers/net/ethernet/xilinx/xilinx_emac.ko] undefined!: => N/A
> + error: modpost: "devm_of_iomap"
> [drivers/net/ethernet/xilinx/ll_temac.ko] undefined!: => N/A
> + error: modpost: "devm_platform_ioremap_resource"
> [drivers/iio/adc/adi-axi-adc.ko] undefined!: => N/A
> + error: modpost: "devm_platform_ioremap_resource"
> [drivers/ptp/ptp_ines.ko] undefined!: => N/A
> + error: modpost: "devm_platform_ioremap_resource"
> [drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.ko] undefined!:
> => N/A
>
> um-x86_64/um-all{mod,yes}config

Must be an issue with those drivers - ARCH=um can't do ioremap(). The
drivers should depend on HAS_IOMEM or something like that?

johannes