On Wed, Jun 06, 2012 at 11:27:23AM +0200, Marek Szyprowski wrote:
arm_dma_limit stores physical address of maximal address accessible by DMA, so the phys_addr_t type makes much more sence for it instead of u32. This patch fixes the following build warning:
arch/arm/mm/init.c:380: warning: comparison of distinct pointer types lacks a cast
I assume this is not compile tested with CONFIG_ZONE_DMA=y, because:
arch/arm/mm/mm.h:extern u32 arm_dma_limit;
would also need to be fixed.