Skip to content
Snippets Groups Projects
Select Git revision
4 results

libfdt

  • Clone with SSH
  • Clone with HTTPS
  • Forked from Reform / reform-boundary-uboot
    21091 commits behind the upstream repository.
    user avatar
    Masahiro Yamada authored
    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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    Fixes: bc4147ab ("fdt: Add a function to count strings")
    Acked-by: default avatarSimon Glass <sjg@chromium.org>
    73e1e795
    History