Skip to contentSkip to conversation

Fixup simple compile error when debug defined - resubmit

PATCH New Bryan O'Donoghue 2 participants 2 messages Feb 15, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 Fixup simple compile error when debug defined - resubmit

Small compile bug crept in when debug defined.

Attached patch removes.

---

common/fdt_support.c +0 -0
index 92f1c7f..1b9e1a1 100644
@@ -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");

#1 lore raw

PATCH 2/3 Fixup simple compile error when debug defined - resubmit

common/fdt_support.c

Quoted 9 lines · Bryan O'Donoghue

Small compile bug crept in when debug defined.

Attached patch removes.

---

common/fdt_support.c +0 -0

Hi Bryan,

Kumar stole your patch and Wolfgang has applied it so we are OK again.

Thanks for pointing out the error and submitting this and your other patches.

gvb