[U-Boot] [PATCH 1/3] fdt: check for fdt errors in fdt_create_phandle
Jerry Van Baren
gvb.uboot at gmail.com
Sat Oct 15 17:34:02 CEST 2011
On 09/20/2011 07:24 PM, Timur Tabi wrote:
> fdt_create_phandle() was ignoring errors from fdt_set_phandle(). If an
> error occurs, print an error message and return 0, which is an invalid
> phandle. We also need to change the return type for fdt_create_phandle()
> to indicate that it cannot return an error code.
>
> Signed-off-by: Timur Tabi<timur at freescale.com>
> ---
> common/fdt_support.c | 11 +++++++++--
> include/fdt_support.h | 2 +-
> 2 files changed, 10 insertions(+), 3 deletions(-)
Added to u-boot-fdt, sent a pull request to wd.
Thanks,
gvb
[snip]
More information about the U-Boot
mailing list