Re: [PATCH v2] lib: vsprintf: Add %pa format specifier for phys_addr_t types

Andrew Morton
2013-01-24T23:07:59Z

On Tue, 22 Jan 2013 16:14:53 -0800
Stepan Moskovchenko <stepanm@codeaurora.org> wrote:

> Add the %pa format specifier for printing a phys_addr_t
> type and its derivative types (such as resource_size_t),
> since the physical address size on some platforms can vary
> based on build options, regardless of the native integer
> type.

Looks sane.

Now, how do we hunt down the existing callsites which can be converted
to use this?

It would be nice to change at least a few of them right now, so your
patch gets tested. Common x86 ones, ideally.