Skip to content
Commit 31f334ab authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Simon Glass
Browse files

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Fixes: 5094eb40 ("fdt: Add functions to retrieve strings")
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 965fab1a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment