Re: [PATCH 4/4] mm: cma: Use %pa to print physical addresses

2014-10-23 Thread Geert Uytterhoeven
On Thu, Oct 23, 2014 at 4:33 PM, Laurent Pinchart wrote: > Casting physical addresses to unsigned long and using %lu truncates the > values on systems where physical addresses are larger than 32 bits. Use > %pa and get rid of the cast instead. > > Signed-off-by: Laurent Pinchart Acked-by: Geert

Re: [PATCH 4/4] mm: cma: Use %pa to print physical addresses

2014-10-23 Thread Michal Nazarewicz
On Thu, Oct 23 2014, Laurent Pinchart wrote: > Casting physical addresses to unsigned long and using %lu truncates the > values on systems where physical addresses are larger than 32 bits. Use > %pa and get rid of the cast instead. > > Signed-off-by: Laurent Pinchart Acked-by: Michal Nazarewicz

[PATCH 4/4] mm: cma: Use %pa to print physical addresses

2014-10-23 Thread Laurent Pinchart
Casting physical addresses to unsigned long and using %lu truncates the values on systems where physical addresses are larger than 32 bits. Use %pa and get rid of the cast instead. Signed-off-by: Laurent Pinchart --- mm/cma.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) d