summaryrefslogtreecommitdiff
path: root/include/stdio_dev.h
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <[email protected]>2017-08-05 05:47:02 +0900
committerTom Rini <[email protected]>2017-08-13 15:17:34 -0400
commit160cfc4b5a6f761d07ade25472ab1d8408100d1a (patch)
tree04f7157cc4d23c45d985f3ba4efd92e1d6d3292c /include/stdio_dev.h
parent7088a365987d12a461c6d048e8ce9fa1afcb298d (diff)
boot_fit: Change return value from FDT_ERROR to -EINVAL in fdt_offset()
FDT_ERROR is defined as unsigned long. However, since the return value of fdt_offset() is int, a warning will occur when compiling. Also, it is better to use -EINVAL than FDT_ERROR. This fixes this problem by change return value from FDT_ERROR to -EINVAL. Signed-off-by: Nobuhiro Iwamatsu <[email protected]> CC: Franklin S Cooper Jr <[email protected]> Reviewed-by: Franklin S Cooper Jr <[email protected]>
Diffstat (limited to 'include/stdio_dev.h')
0 files changed, 0 insertions, 0 deletions