]> git.sur5r.net Git - u-boot/commit
libfdt: fix fdt_stringlist_search()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 17 Oct 2016 11:22:34 +0000 (20:22 +0900)
committerTom Rini <trini@konsulko.com>
Mon, 24 Oct 2016 12:04:40 +0000 (08:04 -0400)
commit01ae56cfcb3f6bbcd1e1cbd283ae2b8b38587664
tree49a9b96a2e67eee08e39d910b637770c00b0877e
parent7c9786d61f951dd8d031e88e198e0ae88b8da2b3
libfdt: fix fdt_stringlist_search()

If fdt_getprop() fails, negative error code should be returned.

[ DTC commit: daa75e8fa5942caa8e97931aed3a1ee0b7edd74b ]

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
lib/libfdt/fdt_ro.c