]> Git Repo - linux.git/commit
ARM: mm: fix type of the arm_dma_limit global variable
authorMarek Szyprowski <[email protected]>
Wed, 6 Jun 2012 10:05:01 +0000 (12:05 +0200)
committerMarek Szyprowski <[email protected]>
Mon, 11 Jun 2012 12:30:47 +0000 (14:30 +0200)
commit4986e5c7cd91817d0f58dd15073c9080d47980cf
tree83b20885da5f0572b8ddf810e68d23d79ceca48b
parente53f517ff236a0ec5413ff3935c53406b69bc1e2
ARM: mm: fix type of the arm_dma_limit global variable

arm_dma_limit stores physical address of maximal address accessible by DMA,
so the phys_addr_t type makes much more sense 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

Reported-by: Russell King <[email protected]>
Signed-off-by: Marek Szyprowski <[email protected]>
arch/arm/mm/init.c
arch/arm/mm/mm.h
This page took 0.052651 seconds and 4 git commands to generate.