mirror of
https://github.com/dgibson/dtc.git
synced 2025-12-07 13:45:07 -05:00
Mirror of DTC
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> |
||
|---|---|---|
| tests | ||
| .gitignore | ||
| fdt.c | ||
| fdt.h | ||
| fdt_ro.c | ||
| fdt_rw.c | ||
| fdt_sw.c | ||
| fdt_wip.c | ||
| GPL | ||
| libfdt.h | ||
| libfdt_env.h | ||
| libfdt_internal.h | ||
| Makefile | ||