mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] mm: cma: Use %pa to avoid truncating the physical address
@ 2014-10-23  0:09 Gregory Fong
  2014-10-23  0:19 ` Gregory Fong
  0 siblings, 1 reply; 2+ messages in thread
From: Gregory Fong @ 2014-10-23  0:09 UTC (permalink / raw)
  To: Marek Szyprowski; +Cc: linux-mm, linux-kernel, Kevin Cernekee, Gregory Fong

From: Kevin Cernekee <cernekee@gmail.com>

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
[gregory.0xf0@gmail.com: rebased from 3.14 and updated commit message]
Signed-off-by: Gregory Fong <gregory.0xf0@gmail.com>
---
 mm/cma.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mm/cma.c b/mm/cma.c
index 963bc4a..154efb0 100644
--- a/mm/cma.c
+++ b/mm/cma.c
@@ -288,8 +288,8 @@ int __init cma_declare_contiguous(phys_addr_t base,
 	if (ret)
 		goto err;
 
-	pr_info("Reserved %ld MiB at %08lx\n", (unsigned long)size / SZ_1M,
-		(unsigned long)base);
+	pr_info("Reserved %ld MiB at %pa\n", (unsigned long)size / SZ_1M,
+		&base);
 	return 0;
 
 err:
-- 
1.9.1


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

end of thread, other threads:[~2014-10-23  0:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-23  0:09 [PATCH] mm: cma: Use %pa to avoid truncating the physical address Gregory Fong
2014-10-23  0:19 ` Gregory Fong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®