On Fri, 17 Apr 2020 at 16:07, Heiko Stuebner <he...@sntech.de> wrote: > > From: Heiko Stuebner <heiko.stueb...@theobroma-systems.com> > > fit_image_write_sig() contains mostly functions from libfdt that > return FDT_ERR_foo errors but also a call to fit_set_timestamp() > which returns a regular error. > > When handling the size increase via multiple iterations, check > for both -FDT_ERR_NOSPACE but also for -ENOSPC. > > There is no real conflict, as FDT_ERR_NOSPACE = 3 = ESRCH > (No such process) and ENOSPC = 28 which is above any FDT_ERR_*. > > Signed-off-by: Heiko Stuebner <heiko.stueb...@theobroma-systems.com> > --- > tools/image-host.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >
Reviewed-by: Simon Glass <s...@chromium.org>