Skip to content
Commit 4986e5c7 authored by Marek Szyprowski's avatar Marek Szyprowski
Browse files

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: default avatarRussell King <linux@arm.linux.org.uk>
Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
parent e53f517f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment