Re: linux-next: build failure after merge of the final tree (nettree related)

From: David Miller
Date: Thu Sep 02 2010 - 22:14:08 EST


From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Fri, 3 Sep 2010 11:47:50 +1000

> Hi all,
>
> After merging the final tree, next-20100830 and later builds (s390
> allmodconfig) failed like this:
>
> drivers/net/stmmac/stmmac_main.c: In function 'stmmac_adjust_link':
> drivers/net/stmmac/stmmac_main.c:217: error: implicit declaration of function 'readl'
> drivers/net/stmmac/stmmac_main.c:270: error: implicit declaration of function 'writel'
> drivers/net/stmmac/stmmac_main.c: In function 'stmmac_dvr_probe':
> drivers/net/stmmac/stmmac_main.c:1676: error: implicit declaration of function 'ioremap'
> drivers/net/stmmac/stmmac_main.c:1676: warning: assignment makes pointer from integer without a cast
> drivers/net/stmmac/stmmac_main.c:1744: warning: cast from pointer to integer of different size
> drivers/net/stmmac/stmmac_main.c:1760: error: implicit declaration of function 'iounmap'
>
> Exposed by commit ac75791aa943c7953521cb4fa7728bf51f9abd2d ("stmmac:
> remove dead option in the driver's Kconfig") That allowed the driver to
> be built on a lot more platforms that previously.

I'll make it's Kconfig depend upon the arch having IOMEM or something like
that, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/