commit | f96367a3d12c87b8f90932ef14eb5093c8dfa162 | [log] [tgz] |
---|---|---|
author | Nobuhiro Iwamatsu <iwamatsu@nigauri.org> | Sat Aug 05 05:47:02 2017 +0900 |
committer | Tom Rini <trini@konsulko.com> | Sun Aug 13 15:17:34 2017 -0400 |
tree | 04f7157cc4d23c45d985f3ba4efd92e1d6d3292c | |
parent | 139f8c1189fc6e15763e32746e89d6b683a296a0 [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 <iwamatsu@nigauri.org> CC: Franklin S Cooper Jr <fcooper@ti.com> Reviewed-by: Franklin S Cooper Jr <fcooper@ti.com>