Go to file
David Gibson 568b569e89 libfdt: Fixup usage of fdt_offset_ptr() in fdt_rw.c
Several places in fdt_rw.c incorrectly use fdt_offset_ptr(), using it
as if it returned an encoded error code on errors, instead of
returning NULL on error as it actually does.

In fact, however, in these instances the extra checks in
fdt_offset_ptr() are useless anyway, so we introduce a new (internal
use) _fdt_offset_ptr() and use that without checking.
(cherry picked from 3dffb1808dea6aee6158c92e17faa6ced9b183f2 commit)
2006-12-14 15:30:31 +11:00
tests libfdt: Fix bounds-checking bug in fdt_get_property() 2006-12-14 15:29:25 +11:00
.gitignore libfdt - library for manipulating device trees in flattened format 2006-11-27 16:21:28 +11:00
GPL Add a copy of the GPL 2006-11-29 16:49:27 +11:00
Makefile libfdt: Read-write support 2006-12-01 16:59:43 +11:00
fdt.c libfdt: Fixup usage of fdt_offset_ptr() in fdt_rw.c 2006-12-14 15:30:31 +11:00
fdt.h libfdt: Introduce flat tree format v17 2006-12-01 16:25:39 +11:00
fdt_ro.c libfdt: Fix bounds-checking bug in fdt_get_property() 2006-12-14 15:29:25 +11:00
fdt_rw.c libfdt: Fixup usage of fdt_offset_ptr() in fdt_rw.c 2006-12-14 15:30:31 +11:00
fdt_sw.c libfdt: Introduce flat tree format v17 2006-12-01 16:25:39 +11:00
fdt_wip.c libfdt: Abolish fdt_property_offset() 2006-12-11 16:15:34 +11:00
libfdt.h libfdt: Abolish fdt_property_offset() 2006-12-11 16:15:34 +11:00
libfdt_env.h libfdt: Export accessors for header fields 2006-12-01 15:02:10 +11:00
libfdt_internal.h libfdt: Fixup usage of fdt_offset_ptr() in fdt_rw.c 2006-12-14 15:30:31 +11:00