From: Grant Likely <grant.likely@secretlab.ca>
To: David Gibson <david@gibson.dropbear.id.au>, linuxppc-dev@ozlabs.org
Subject: [LIBFDT] Fixup byteswapping code
Date: Sat, 2 Dec 2006 01:45:40 -0700 [thread overview]
Message-ID: <11650491414017-git-send-email-grant.likely@secretlab.ca> (raw)
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---
libfdt.h | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/libfdt.h b/libfdt.h
index 3872eea..8216655 100644
--- a/libfdt.h
+++ b/libfdt.h
@@ -45,16 +45,16 @@ #define FDT_ERR_EXISTS 15
#define FDT_ERR_MAX 14
-#define fdt_magic(fdt) (fdt32_to_cpu(fdt)->magic)
-#define fdt_totalsize(fdt) (fdt32_to_cpu(fdt)->totalsize)
-#define fdt_off_dt_struct(fdt) (fdt32_to_cpu(fdt)->off_dt_struct)
-#define fdt_off_dt_strings(fdt) (fdt32_to_cpu(fdt)->off_dt_strings)
-#define fdt_off_mem_rsvmap(fdt) (fdt32_to_cpu(fdt)->off_mem_rsvmap)
-#define fdt_version(fdt) (fdt32_to_cpu(fdt)->version)
-#define fdt_last_comp_version(fdt) (fdt32_to_cpu(fdt)->last_comp_version)
-#define fdt_boot_cpuid_phys(fdt) (fdt32_to_cpu(fdt)->boot_cpuid_phys)
-#define fdt_size_dt_strings(fdt) (fdt32_to_cpu(fdt)->size_dt_strings)
-#define fdt_size_dt_struct(fdt) (fdt32_to_cpu(fdt)->size_dt_struct)
+#define fdt_magic(fdt) (fdt32_to_cpu(fdt->magic))
+#define fdt_totalsize(fdt) (fdt32_to_cpu(fdt->totalsize))
+#define fdt_off_dt_struct(fdt) (fdt32_to_cpu(fdt->off_dt_struct))
+#define fdt_off_dt_strings(fdt) (fdt32_to_cpu(fdt->off_dt_strings))
+#define fdt_off_mem_rsvmap(fdt) (fdt32_to_cpu(fdt->off_mem_rsvmap))
+#define fdt_version(fdt) (fdt32_to_cpu(fdt->version))
+#define fdt_last_comp_version(fdt) (fdt32_to_cpu(fdt->last_comp_version))
+#define fdt_boot_cpuid_phys(fdt) (fdt32_to_cpu(fdt->boot_cpuid_phys))
+#define fdt_size_dt_strings(fdt) (fdt32_to_cpu(fdt->size_dt_strings))
+#define fdt_size_dt_struct(fdt) (fdt32_to_cpu(fdt->size_dt_struct))
void *fdt_offset_ptr(const struct fdt_header *fdt, int offset, int checklen);
--
1.4.3.rc2.g0503
next reply other threads:[~2006-12-02 8:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-02 8:45 Grant Likely [this message]
2006-12-02 8:45 ` [LIBFDT] Add .dtb files to .gitignore Grant Likely
2006-12-02 9:30 ` Segher Boessenkool
2006-12-04 0:19 ` David Gibson
2006-12-04 1:53 ` [LIBFDT] Fixup byteswapping code David Gibson
2006-12-04 5:18 ` Grant Likely
2006-12-04 5:52 ` David Gibson
2006-12-04 6:33 ` Grant Likely
2006-12-04 7:16 ` David Gibson
2006-12-04 14:55 ` Grant Likely
2006-12-08 6:09 ` David Gibson
2006-12-15 4:15 ` David Gibson
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=11650491414017-git-send-email-grant.likely@secretlab.ca \
--to=grant.likely@secretlab.ca \
--cc=david@gibson.dropbear.id.au \
--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).