commit | 31f334abc516a37257d09c4492808f3238e129fa | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Wed Jul 15 01:08:43 2015 +0900 |
committer | Simon Glass <sjg@chromium.org> | Mon Jul 20 07:21:47 2015 -0600 |
tree | 6c518fa271f9e2e9e16b08ec3bf57c76e107fba6 | |
parent | 965fab1adf59586fe27e81f4def0aeadc51ec1d5 [diff] |
libfdt: fix error code of fdt_get_string_index() 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@socionext.com> Fixes: 5094eb408a5d ("fdt: Add functions to retrieve strings") Acked-by: Simon Glass <sjg@chromium.org>