[PATCH] arm: mm: Use phys_addr_t properly for ioremap functions
Russell King - ARM Linux
linux at arm.linux.org.uk
Thu May 2 14:02:37 EDT 2013
On Tue, Apr 23, 2013 at 04:51:38PM -0700, Laura Abbott wrote:
> - unsigned long last_addr;
> - unsigned long offset = phys_addr & ~PAGE_MASK;
> + phys_addr_t last_addr;
> + phys_addr_t offset = phys_addr & ~PAGE_MASK;
BTW, this doesn't need to be phys_addr_t. An offset of a page is always
less than 32-bits.
More information about the linux-arm-kernel
mailing list