summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-01-07 11:37:50 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-07 11:37:50 +0100
commit74d1e23604134af48f335f0fc388643c5afee63a (patch)
treec26740b566a9d5a2eeda63fc2fb9e91593a8bffc
parent1f20b825480307582ea213f71d38f4ed6a7ea88b (diff)
downloadbarebox-74d1e23604134af48f335f0fc388643c5afee63a.tar.gz
barebox-74d1e23604134af48f335f0fc388643c5afee63a.tar.xz
ppc: fix printf compiler warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/ppc/lib/ppclinux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/lib/ppclinux.c b/arch/ppc/lib/ppclinux.c
index fc22a87170..f27955d444 100644
--- a/arch/ppc/lib/ppclinux.c
+++ b/arch/ppc/lib/ppclinux.c
@@ -219,7 +219,7 @@ static int do_bootm_linux(struct image_data *idata)
else
of_start = (ulong)kbd - of_len - 8192;
of_start &= ~(4096 - 1); /* align on page */
- debug ("## device tree at 0x%08lX ... 0x%08lX (len=%ld=0x%lX)\n",
+ debug ("## device tree at 0x%p ... 0x%p (len=%ld=0x%lX)\n",
of_data, of_data + of_len - 1, of_len, of_len);
of_flat_tree = (char *)of_start;