Re: [PATCH] kexec-tools: s390: Reset kernel command line on syscall fallback

2020-04-07 Thread Simon Horman
On Fri, Apr 03, 2020 at 01:19:16PM +0200, Petr Tesarik wrote: > The command line is duplicated on s390 if kexec_file_load(2) is not > implemented. That's because the corresponding variable is not reset > to an empty string before re-parsing the kexec command line. > > Fixes: 9cf721279f6c ("Reset

[PATCH] kexec-tools: s390: Reset kernel command line on syscall fallback

2020-04-03 Thread Petr Tesarik
The command line is duplicated on s390 if kexec_file_load(2) is not implemented. That's because the corresponding variable is not reset to an empty string before re-parsing the kexec command line. Fixes: 9cf721279f6c ("Reset getopt before falling back to legacy syscall") Signed-off-by: Petr