]> git.dujemihanovic.xyz Git - u-boot.git/commit
libfdt: fix fdt_stringlist_count()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 17 Oct 2016 11:22:33 +0000 (20:22 +0900)
committerTom Rini <trini@konsulko.com>
Mon, 24 Oct 2016 12:04:39 +0000 (08:04 -0400)
commit7c9786d61f951dd8d031e88e198e0ae88b8da2b3
tree1b788ddb8117a882da535c66e479e78457a5179c
parent28a3a43d7be74000a0d480f6f32e31c5ff22d4bc
libfdt: fix fdt_stringlist_count()

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

[ DTC commit: e28eff5b787adb3f461d1653598818b2f1f25a73 ]

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