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

Simon Glass sjg at chromium.org
Mon Jul 20 15:25:52 CEST 2015


On 18 July 2015 at 08:36, Simon Glass <sjg at chromium.org> wrote:
> 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>

Applied to u-boot-fdt, thanks!


More information about the U-Boot mailing list