summaryrefslogtreecommitdiff
path: root/libfdt/libfdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'libfdt/libfdt.h')
-rw-r--r--libfdt/libfdt.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libfdt/libfdt.h b/libfdt/libfdt.h
index c8c00fa..1032d38 100644
--- a/libfdt/libfdt.h
+++ b/libfdt/libfdt.h
@@ -90,8 +90,9 @@
/* Error codes: codes for bad device tree blobs */
#define FDT_ERR_TRUNCATED 8
- /* FDT_ERR_TRUNCATED: Structure block of the given device tree
- * ends without an FDT_END tag. */
+ /* FDT_ERR_TRUNCATED: FDT or a sub-block is improperly
+ * terminated (overflows, goes outside allowed bounds, or
+ * isn't properly terminated). */
#define FDT_ERR_BADMAGIC 9
/* FDT_ERR_BADMAGIC: Given "device tree" appears not to be a
* device tree at all - it is missing the flattened device