[U-Boot] [PATCH v2 2/3] libfdt: fix error code of fdt_get_string_index()

Simon Glass sjg at chromium.org
Sat Jul 18 16:36:50 CEST 2015


On 14 July 2015 at 10:08, Masahiro Yamada <yamada.masahiro at socionext.com> wrote:
> As mentioned in the comment block in include/libfdt.h,
> fdt_get_string_index() is supposed to return a negative value
> on error.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> Fixes: 5094eb408a5d ("fdt: Add functions to retrieve strings")
> ---
>
> Changes in v2:
>   - minor fix in git-log (drop "commit")
>   - return code -> error code
>
>  lib/libfdt/fdt_ro.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list