On Sun, Jul 03, 2016 at 09:40:44AM -0600, Simon Glass wrote:

> We should not be returning -1 as an error code. This can mask a situation
> where we run out of space adding things to the FIT. By returning the correct
> error in this case (-ENOSPC) it can be handled by the higher-level code.
> 
> This may fix the error reported by Tom Van Deun here:
> 
> https://www.mail-archive.com/u-boot@lists.denx.de/msg217417.html
> 
> although I am not sure as I cannot actually repeat it.
> 
> Signed-off-by: Simon Glass <s...@chromium.org>
> Reported-by: Tom Van Deun <tom.vand...@wapice.com>
> Reviewed-by: Teddy Reed <teddy.r...@gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to