All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/22] mm/memblock.c: %pF is only for function pointers
@ 2015-03-12  3:13 ` Scott Wood
  0 siblings, 0 replies; 79+ messages in thread
From: Scott Wood @ 2015-03-12  3:13 UTC (permalink / raw)
  To: trivial, linux-kernel; +Cc: Scott Wood, linux-mm

Use %pS for actual addresses, otherwise you'll get bad output
on arches like ppc64 where %pF expects a function descriptor.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: linux-mm@kvack.org
---
 mm/memblock.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/mm/memblock.c b/mm/memblock.c
index 252b77b..a7d4ff3 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -685,7 +685,7 @@ int __init_memblock memblock_remove(phys_addr_t base, phys_addr_t size)
 
 int __init_memblock memblock_free(phys_addr_t base, phys_addr_t size)
 {
-	memblock_dbg("   memblock_free: [%#016llx-%#016llx] %pF\n",
+	memblock_dbg("   memblock_free: [%#016llx-%#016llx] %pS\n",
 		     (unsigned long long)base,
 		     (unsigned long long)base + size - 1,
 		     (void *)_RET_IP_);
@@ -701,7 +701,7 @@ static int __init_memblock memblock_reserve_region(phys_addr_t base,
 {
 	struct memblock_type *_rgn = &memblock.reserved;
 
-	memblock_dbg("memblock_reserve: [%#016llx-%#016llx] flags %#02lx %pF\n",
+	memblock_dbg("memblock_reserve: [%#016llx-%#016llx] flags %#02lx %pS\n",
 		     (unsigned long long)base,
 		     (unsigned long long)base + size - 1,
 		     flags, (void *)_RET_IP_);
@@ -1218,7 +1218,7 @@ void * __init memblock_virt_alloc_try_nid_nopanic(
 				phys_addr_t min_addr, phys_addr_t max_addr,
 				int nid)
 {
-	memblock_dbg("%s: %llu bytes align=0x%llx nid=%d from=0x%llx max_addr=0x%llx %pF\n",
+	memblock_dbg("%s: %llu bytes align=0x%llx nid=%d from=0x%llx max_addr=0x%llx %pS\n",
 		     __func__, (u64)size, (u64)align, nid, (u64)min_addr,
 		     (u64)max_addr, (void *)_RET_IP_);
 	return memblock_virt_alloc_internal(size, align, min_addr,
@@ -1250,7 +1250,7 @@ void * __init memblock_virt_alloc_try_nid(
 {
 	void *ptr;
 
-	memblock_dbg("%s: %llu bytes align=0x%llx nid=%d from=0x%llx max_addr=0x%llx %pF\n",
+	memblock_dbg("%s: %llu bytes align=0x%llx nid=%d from=0x%llx max_addr=0x%llx %pS\n",
 		     __func__, (u64)size, (u64)align, nid, (u64)min_addr,
 		     (u64)max_addr, (void *)_RET_IP_);
 	ptr = memblock_virt_alloc_internal(size, align,
@@ -1274,7 +1274,7 @@ void * __init memblock_virt_alloc_try_nid(
  */
 void __init __memblock_free_early(phys_addr_t base, phys_addr_t size)
 {
-	memblock_dbg("%s: [%#016llx-%#016llx] %pF\n",
+	memblock_dbg("%s: [%#016llx-%#016llx] %pS\n",
 		     __func__, (u64)base, (u64)base + size - 1,
 		     (void *)_RET_IP_);
 	kmemleak_free_part(__va(base), size);
@@ -1294,7 +1294,7 @@ void __init __memblock_free_late(phys_addr_t base, phys_addr_t size)
 {
 	u64 cursor, end;
 
-	memblock_dbg("%s: [%#016llx-%#016llx] %pF\n",
+	memblock_dbg("%s: [%#016llx-%#016llx] %pS\n",
 		     __func__, (u64)base, (u64)base + size - 1,
 		     (void *)_RET_IP_);
 	kmemleak_free_part(__va(base), size);
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 79+ messages in thread

end of thread, other threads:[~2015-08-31 20:05 UTC | newest]

Thread overview: 79+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-12  3:13 [PATCH 01/22] mm/memblock.c: %pF is only for function pointers Scott Wood
2015-03-12  3:13 ` Scott Wood
2015-03-12  3:13 ` [PATCH 02/22] netfilter: " Scott Wood
2015-03-12  3:13   ` Scott Wood
2015-03-12  3:13 ` [PATCH 03/22] sound: " Scott Wood
2015-03-12  3:13   ` Scott Wood
2015-03-12  3:13 ` [PATCH 04/22] md/bcache: " Scott Wood
2015-03-12  3:13   ` Scott Wood
2015-03-12  3:13 ` [PATCH 05/22] PM / AVS: SmartReflex: " Scott Wood
2015-03-12  3:13   ` Scott Wood
2015-03-12 18:09   ` Kevin Hilman
2015-03-12 18:09     ` Kevin Hilman
2015-03-12 18:14     ` Nishanth Menon
2015-03-12 18:14       ` Nishanth Menon
2015-03-12 18:16       ` Jiri Kosina
2015-03-12  3:13 ` [PATCH 06/22] random: " Scott Wood
2015-03-12  3:13 ` [PATCH 07/22] alpha: " Scott Wood
2015-03-12  3:13   ` Scott Wood
2015-03-12  3:13 ` [PATCH 08/22] ARM: " Scott Wood
2015-03-12  3:13   ` Scott Wood
2015-03-12 19:51   ` Russell King - ARM Linux
2015-03-12 19:51     ` Russell King - ARM Linux
2015-03-12  3:13 ` [PATCH 09/22] blackfin: " Scott Wood
2015-03-12  3:13 ` [PATCH 10/22] microblaze: " Scott Wood
2015-03-12  3:13 ` [PATCH 11/22] powerpc/32: " Scott Wood
2015-03-12  3:13   ` Scott Wood
2015-03-12  3:13 ` [PATCH 12/22] sparc: " Scott Wood
2015-03-12  3:13   ` Scott Wood
2015-03-12 18:47   ` Sam Ravnborg
2015-03-12 18:47     ` Sam Ravnborg
2015-03-12 18:49     ` Scott Wood
2015-03-12 18:49       ` Scott Wood
2015-03-12 18:54       ` Sam Ravnborg
2015-03-12 18:54         ` Sam Ravnborg
2015-03-12  3:13 ` [PATCH 13/22] x86: " Scott Wood
2015-03-12  3:13   ` Scott Wood
2015-03-12  3:13 ` [PATCH 14/22] parisc: " Scott Wood
2015-03-12 12:11   ` James Bottomley
2015-03-12 14:43     ` John David Anglin
2015-03-12 16:14     ` Scott Wood
2015-03-12 18:04       ` James Bottomley
2015-03-12 19:48         ` Aaro Koskinen
2015-03-12  3:13 ` [PATCH 15/22] drm: " Scott Wood
2015-03-12  3:13   ` Scott Wood
2015-03-13  9:17   ` Daniel Vetter
2015-03-13  9:17     ` Daniel Vetter
2015-03-12  3:13 ` [PATCH 16/22] mfd: " Scott Wood
2015-03-12  9:03   ` Lee Jones
2015-03-12  3:13 ` [PATCH 17/22] esp_scsi: " Scott Wood
2015-03-12  3:13   ` Scott Wood
2015-03-12 11:23   ` Hannes Reinecke
2015-03-12  3:13 ` [PATCH 18/22] usb: gadget: serial: " Scott Wood
2015-03-12  4:45   ` Felipe Balbi
2015-03-12  5:27     ` Scott Wood
2015-03-12 15:38       ` Felipe Balbi
2015-03-12 12:36   ` Sergei Shtylyov
2015-03-12 16:43     ` Scott Wood
2015-03-12 15:51   ` Fabio Estevam
2015-03-12 16:40     ` Scott Wood
2015-03-12 16:43       ` Fabio Estevam
2015-03-12  3:13 ` [PATCH 19/22] jfs: " Scott Wood
2015-03-12 14:16   ` [Jfs-discussion] " Dave Kleikamp
2015-03-12 16:09     ` Scott Wood
2015-03-12  3:13 ` [PATCH 20/22] pstore: " Scott Wood
2015-06-16 22:02   ` Kees Cook
2015-06-16 22:37     ` Anton Vorontsov
2015-03-12  3:13 ` [PATCH 21/22] xfs: " Scott Wood
2015-03-12  3:13   ` Scott Wood
2015-08-31  8:06   ` Dave Chinner
2015-08-31  8:06     ` Dave Chinner
2015-08-31 19:24     ` Scott Wood
2015-08-31 19:45       ` Steven Rostedt
2015-08-31 19:45         ` Steven Rostedt
2015-08-31 19:58         ` Scott Wood
2015-08-31 20:05           ` Steven Rostedt
2015-08-31 20:05             ` Steven Rostedt
2015-03-12  3:13 ` [PATCH 22/22] tracing: " Scott Wood
2015-03-12 20:23   ` Steven Rostedt
2015-03-12 20:25     ` Scott Wood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.