Nobuhiro Iwamatsu 160cfc4b5a 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>
2017-08-13 15:17:34 -04:00
..
2017-05-12 08:37:09 -04:00
2016-04-18 12:29:14 -04:00
2017-07-11 22:41:46 -04:00
2016-02-06 12:00:59 +01:00
2016-05-02 18:37:09 -04:00
2017-06-12 08:37:55 -04:00
2017-07-03 17:35:28 -04:00
2017-07-11 10:08:19 -06:00
2017-07-03 17:35:28 -04:00