dtc/tests
David Gibson a7ee95ded6 libfdt: Abolish encoding of error codes into pointers
This patch abolishes the non-standard and confusing encoding of errors
into pointer return values.  The only functions still returning such a
potentially encoded pointer are fdt_get_property() and fdt_getprop().
Those functions also return a length via an (int *).  With this patch
those functions instead now return NULL on any error, and return the
code indicating the type of error in the length paramater.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2006-12-15 15:12:49 +11:00
..
.gitignore libfdt: Add dtb files to .gitignore 2006-12-04 11:17:32 +11:00
del_node.c libfdt: Use void * to refer to device tree blobs 2006-12-15 15:12:47 +11:00
del_property.c libfdt: Abolish encoding of error codes into pointers 2006-12-15 15:12:49 +11:00
dumptrees.c libfdt: Use void * to refer to device tree blobs 2006-12-15 15:12:47 +11:00
find_property.c libfdt: Use void * to refer to device tree blobs 2006-12-15 15:12:47 +11:00
getprop.c libfdt: Use void * to refer to device tree blobs 2006-12-15 15:12:47 +11:00
Makefile libfdt: Fix bounds-checking bug in fdt_get_property() 2006-12-14 15:29:25 +11:00
move_and_save.c libfdt: Use void * to refer to device tree blobs 2006-12-15 15:12:47 +11:00
nop_node.c libfdt: Use void * to refer to device tree blobs 2006-12-15 15:12:47 +11:00
nop_property.c libfdt: Abolish encoding of error codes into pointers 2006-12-15 15:12:49 +11:00
notfound.c libfdt: Abolish encoding of error codes into pointers 2006-12-15 15:12:49 +11:00
open_pack.c libfdt: Use void * to refer to device tree blobs 2006-12-15 15:12:47 +11:00
path_offset.c libfdt: Use void * to refer to device tree blobs 2006-12-15 15:12:47 +11:00
root_node.c libfdt: Use void * to refer to device tree blobs 2006-12-15 15:12:47 +11:00
run_tests.sh libfdt: Fix bounds-checking bug in fdt_get_property() 2006-12-14 15:29:25 +11:00
rw_tree1.c libfdt: Use void * to refer to device tree blobs 2006-12-15 15:12:47 +11:00
setprop.c libfdt: Use void * to refer to device tree blobs 2006-12-15 15:12:47 +11:00
setprop_inplace.c libfdt: Use void * to refer to device tree blobs 2006-12-15 15:12:47 +11:00
subnode_offset.c libfdt: Use void * to refer to device tree blobs 2006-12-15 15:12:47 +11:00
sw_tree1.c libfdt: Use void * to refer to device tree blobs 2006-12-15 15:12:47 +11:00
testdata.h libfdt: Fix bounds-checking bug in fdt_get_property() 2006-12-14 15:29:25 +11:00
tests.h libfdt: Use void * to refer to device tree blobs 2006-12-15 15:12:47 +11:00
testutils.c libfdt: Abolish encoding of error codes into pointers 2006-12-15 15:12:49 +11:00
trees.S libfdt: Fix bounds-checking bug in fdt_get_property() 2006-12-14 15:29:25 +11:00
truncated_property.c libfdt: Abolish encoding of error codes into pointers 2006-12-15 15:12:49 +11:00