From: Ed Swarthout <Ed.Swarthout@freescale.com>
To: linuxppc-dev@ozlabs.org
Cc: Ed Swarthout <Ed.Swarthout@freescale.com>
Subject: [dtc] ftdump missing be32_to_cpu() on size cell.
Date: Wed, 14 Mar 2007 17:33:19 -0500 [thread overview]
Message-ID: <11739115994037-git-send-email-Ed.Swarthout@freescale.com> (raw)
---
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
next reply other threads:[~2007-03-14 22:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-14 22:33 Ed Swarthout [this message]
2007-03-22 13:32 ` [dtc] ftdump missing be32_to_cpu() on size cell Jon Loeliger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11739115994037-git-send-email-Ed.Swarthout@freescale.com \
--to=ed.swarthout@freescale.com \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).