[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.11.1407051833400.15455@eddie.linux-mips.org>
Date: Sat, 5 Jul 2014 18:39:49 +0100 (BST)
From: "Maciej W. Rozycki" <macro@...ux-mips.org>
To: Joe Perches <joe@...ches.com>
cc: Grant Likely <grant.likely@...retlab.ca>,
David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] declance: Fix 64-bit compilation warnings
On Sat, 5 Jul 2014, Joe Perches wrote:
> > One question though, does either of you or anybody else know why we're
> > inconsistent about this 0x prefixing of virtual addresses vs physical
> > addresses? Specifically %p vs e.g. %pad.
>
> I think it's a mistake and I agree.
>
> I submitted a patch to remove the prefix from %pad.
>
> https://lkml.org/lkml/2014/3/21/333
Great! Your proposal looks good to me in principle, however you need to
factor in SPECIAL having been set by `#' somehow as `number' will respect
it. I suggest using the same field width calculation that `pointer' uses
for `default_width' (sans the type used with `sizeof' of course, that is).
Maciej
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists