]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lib/vsprintf.c: add %pa format specifier for phys_addr_t types
authorStepan Moskovchenko <stepanm@codeaurora.org>
Thu, 7 Feb 2013 01:27:19 +0000 (12:27 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:46:59 +0000 (16:46 +1100)
commitfaae1f1875fa050b817fe8d73a1c4978f2082707
tree49e0c16d5d6824c9b540bd2784ff15328d0694a8
parentbf436aa632bcae01c09d63fb531e65ccd0e18688
lib/vsprintf.c: add %pa format specifier for phys_addr_t types

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.

Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
Cc: Rob Landley <rob@landley.net>
Cc: George Spelvin <linux@horizon.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/printk-formats.txt
lib/vsprintf.c