This fixes several small bugs related to fdt_strerror(). - an entry is added to the error table for FDT_ERR_BADLAYOUT. - Incorrect usage of fdt_strerror() in check_property() and check_getprop() is corrected (they were passing a positive error code, when fdt_strerror() expects a negative code). - Add code to properly retreive an error code from fdt_get_property() in check_property(). With that a check that the length returned by fdt_get_property() matches that stored in the retreived property. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
1.7 KiB
1.7 KiB