Re: [PATCH] ARM: use phys_addr_t in pfn_to_kaddr()

From: santosh shilimkar
Date: Thu Jun 25 2015 - 14:44:37 EST


On 6/25/2015 9:33 AM, Nicolas Pitre wrote:
On Wed, 24 Jun 2015, santosh shilimkar wrote:

On 6/23/2015 8:13 AM, Vitaly Andrianov wrote:
This patch fixes pfn_to_kaddr() to use phys_addr_t. Without this,
this macro is broken on LPAE systems. For physical addresses above
first 4GB result of shifting pfn with PAGE_SHIFT may be truncated.

Signed-off-by: Vitaly Andrianov <vitalya@xxxxxx>
---
Looks a valid fix.

RMK, Nico, what you say ?

Looks fine to me.

Acked-by: Nicolas Pitre <nico@xxxxxxxxxx>

Thanks Nico.

Vitaly,
I suggest you to drop this patch into RMK's patch system with
mine and Nico's ack.

Regards,
Santosh


--
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/