[Crosstoolchain-logs] [device-tree-compiler] 83/357: Fix flat_dt_property structure
Hector Oron
zumbi at moszumanska.debian.org
Thu Dec 8 17:05:52 UTC 2016
This is an automated email from the git hooks/post-receive script.
zumbi pushed a commit to branch upstream/1.3.x
in repository device-tree-compiler.
commit 6ae55f9f9bf5db8c05f851db27ed923451b44181
Author: David Gibson <david at gibson.dropbear.id.au>
Date: Mon Feb 26 11:02:24 2007 +1100
Fix flat_dt_property structure
The structure in flat_dt.h defining the layout of a proprety within
the flat device tree is incorrect. It has the offset to the
property's name, then the length when in fact (according to
booting-without-of.txt and the output of dtc) then length should come
first, followed by the name offset.
In fact, this structure is never used so the mistake doesn't break
anything, but it should still be fixed to avoid misleading people.
Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
---
flat_dt.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flat_dt.h b/flat_dt.h
index 5b1dcb6..2850044 100644
--- a/flat_dt.h
+++ b/flat_dt.h
@@ -37,8 +37,8 @@ struct reserve_entry {
};
struct flat_dt_property {
- uint32_t nameoff;
uint32_t len;
+ uint32_t nameoff;
char data[0];
};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git
More information about the Crosstoolchain-logs
mailing list