summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mvebu/include/mach/soc.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-07-15 01:08:44 +0900
committerSimon Glass <sjg@chromium.org>2015-07-20 07:21:47 -0600
commit73e1e7952a2a629dc071d894594df4852acc11ad (patch)
tree6dc4db45e038d5ec0f580600e081833479eef682 /arch/arm/mach-mvebu/include/mach/soc.h
parent31f334abc516a37257d09c4492808f3238e129fa (diff)
downloadtalos-obmc-uboot-73e1e7952a2a629dc071d894594df4852acc11ad.tar.gz
talos-obmc-uboot-73e1e7952a2a629dc071d894594df4852acc11ad.zip
libfdt: fix error code of fdt_count_strings()
Currently, this function returns a positive value on error, so we never know whether this function has succeeded or failed. For example, if the given property is not found, fdt_getprop() returns -FDT_ERR_NOTFOUND, and then this function inverts it, i.e., returns FDT_ERR_NOTFOUND (=1). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Fixes: bc4147ab2d69 ("fdt: Add a function to count strings") Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-mvebu/include/mach/soc.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud