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

From: Andrew Morton
Date: Thu Jan 24 2013 - 18:07:45 EST


On Tue, 22 Jan 2013 16:14:53 -0800
Stepan Moskovchenko <stepanm@xxxxxxxxxxxxxx> 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.
--
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/