Messages in this thread | | | Subject | Re: [PATCH] lib: vsprintf: Add %pa format specifier for phys_addr_t types | From | Joe Perches <> | Date | Tue, 22 Jan 2013 20:14:28 -0800 |
| |
On Tue, 2013-01-22 at 23:26 +0100, Geert Uytterhoeven wrote: > On Tue, Jan 22, 2013 at 6:47 AM, Stepan Moskovchenko > <stepanm@codeaurora.org> wrote: > > Add the %pa format specifier for printing a phys_addr_t > > type, since the physical address size on some platforms > > can vary based on build options, regardless of the native > > integer type. > > I'm not so sure it's a good idea to start using %p for integer types.
It would also require that some automatic variables that could otherwise be used in registers be put on the stack.
| |