summaryrefslogtreecommitdiff
path: root/common/bouncebuf.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-06-27 16:39:57 +0900
committerSimon Glass <sjg@chromium.org>2019-07-24 12:54:08 -0700
commite3665ba9d7c82f75c4dbd2057276a6990929be40 (patch)
tree8c6220eac87c0f006c1de79cc39a523d07537f3e /common/bouncebuf.c
parente2705fa9c5bfa7f310047a805cfa9103990d381c (diff)
fdt: make fdt_get_base_address() return OF_BAD_ADDR when "reg" not found
Currently, fdt_get_base_address() returns 0 if the "reg" property is missing. Since 0 is a valid value, it is not suitable for the error handling. Return OF_BAD_ADDR instead. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'common/bouncebuf.c')
0 files changed, 0 insertions, 0 deletions