[PATCH v4 15/19] ARM: LPAE: use phys_addr_t instead of unsigned long for physical addresses

Catalin Marinas catalin.marinas at arm.com
Tue Feb 15 07:39:29 EST 2011


On Tue, 2011-02-15 at 12:35 +0000, Russell King - ARM Linux wrote:
> On Tue, Feb 15, 2011 at 11:52:22AM +0000, Will Deacon wrote:
> > Excellent! I've split the patch up into four distinct parts, as per your
> > suggestions. I've submitted these to your patch system (6670/1-6673/1)
> > alongside a fixed version of the printf format patch (6669/1) because
> > without that, you get a bunch of compiler warnings.
> 
> Except 6669/1 still suffers from "%#08llx".  For a value of one, that prints:
> 
>         0x000001
> 
> five zeros following the 0x rather than seven.  The width in the format
> string includes the 0x prefix.

Ah, sorry, I only fixed one case and forgot about the rest (and
misleading Will).

-- 
Catalin





More information about the linux-arm-kernel mailing list