public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH 2/3] Fixup simple compile error when debug defined - resubmit
@ 2008-02-15  1:06 Bryan O'Donoghue
  2008-02-15  3:04 ` gvb.uboot
  0 siblings, 1 reply; 2+ messages in thread
From: Bryan O'Donoghue @ 2008-02-15  1:06 UTC (permalink / raw)
  To: u-boot

Small compile bug crept in when debug defined.

Attached patch removes.


Signed-off-by: Bryan O'Donoghue <bodonoghue@codehermit.ie>
---

diff --git a/common/fdt_support.c b/common/fdt_support.c
index 92f1c7f..1b9e1a1 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -415,7 +415,7 @@ void do_fixup_by_path(void *fdt, const char *path, const
char *prop, {
 #if defined(DEBUG)
 	int i;
-	debug("Updating property '%s/%s' = ", node, prop);
+	debug("Updating property '%s/%s' = ", path, prop);
 	for (i = 0; i < len; i++)
 		debug(" %.2x", *(u8*)(val+i));
 	debug("\n");
@@ -441,7 +441,7 @@ void do_fixup_by_prop(void *fdt,
 	int off;
 #if defined(DEBUG)
 	int i;
-	debug("Updating property '%s/%s' = ", node, prop);
+	debug("Updating property '%s/%s' = ", pname, prop);
 	for (i = 0; i < len; i++)
 		debug(" %.2x", *(u8*)(val+i));
 	debug("\n");
@@ -468,7 +468,7 @@ void do_fixup_by_compat(void *fdt, const char *compat,
 	int off = -1;
 #if defined(DEBUG)
 	int i;
-	debug("Updating property '%s/%s' = ", node, prop);
+	debug("Updating property '%s/%s' = ", compat, prop);
 	for (i = 0; i < len; i++)
 		debug(" %.2x", *(u8*)(val+i));
 	debug("\n");

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

end of thread, other threads:[~2008-02-15  3:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-15  1:06 [U-Boot-Users] [PATCH 2/3] Fixup simple compile error when debug defined - resubmit Bryan O'Donoghue
2008-02-15  3:04 ` gvb.uboot

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