linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [dtc] ftdump missing be32_to_cpu() on size cell.
@ 2007-03-14 22:33 Ed Swarthout
  2007-03-22 13:32 ` Jon Loeliger
  0 siblings, 1 reply; 2+ messages in thread
From: Ed Swarthout @ 2007-03-14 22:33 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Ed Swarthout

---
 ftdump.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ftdump.c b/ftdump.c
index 67c5228..55209b6 100644
--- a/ftdump.c
+++ b/ftdump.c
@@ -142,7 +142,7 @@ static void dump_blob(void *blob)
 			fprintf(stderr, "%*s ** Unknown tag 0x%08x\n", depth * shift, "", tag);
 			break;
 		}
-		sz = GET_CELL(p);
+		sz = be32_to_cpu(GET_CELL(p));
 		s = p_strings + be32_to_cpu(GET_CELL(p));
 		if (version < 16 && sz >= 8)
 			p = PALIGN(p, 8);
-- 
1.5.0.3.290.gc390a

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

* Re: [dtc] ftdump missing be32_to_cpu() on size cell.
  2007-03-14 22:33 [dtc] ftdump missing be32_to_cpu() on size cell Ed Swarthout
@ 2007-03-22 13:32 ` Jon Loeliger
  0 siblings, 0 replies; 2+ messages in thread
From: Jon Loeliger @ 2007-03-22 13:32 UTC (permalink / raw)
  To: Ed Swarthout; +Cc: linuxppc-dev

So, like, the other day Ed Swarthout mumbled:
> ---
>  ftdump.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied.

Thanks,
jdl

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

end of thread, other threads:[~2007-03-22 13:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-14 22:33 [dtc] ftdump missing be32_to_cpu() on size cell Ed Swarthout
2007-03-22 13:32 ` Jon Loeliger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).