Re: [PATCH] sparc: piggyback: handle invalid image

From: David Miller
Date: Mon Jun 22 2020 - 18:45:15 EST


From: Corentin Labbe <clabbe@xxxxxxxxxxxx>
Date: Wed, 10 Jun 2020 07:55:19 +0000

> With an old elftoaout, the generation of tftpboot.img fail with "lseek:
> invalid argument".
> This is due to offset being negative.
>
> Instead of printing this error message, let's print a better one.
>
> Signed-off-by: Corentin Labbe <clabbe@xxxxxxxxxxxx>

Applied, thank you.