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

2020-06-22 Thread David Miller
From: Corentin Labbe Date: Wed, 10 Jun 2020 07:55:19 + > 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

[PATCH] sparc: piggyback: handle invalid image

2020-06-10 Thread Corentin Labbe
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 --- arch/sparc/boot/piggyback.c | 4 1 file changed, 4