commit | 0d32b6632d84fa5a3063848e2c70e6701d74d09c | [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 | 3f7f78971e8ca2b786a72d1cfc225d1b3636dabd [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>