mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Always clear the COMMAND_LINE_EXTRA region, also in case sclp_setup() fails. If the region is not cleared properly, there might be junk in there after a reboot, causing confusion for the kernel later. While we're at it, also switch to COMMAND_LINE_EXTRA_SIZE instead of COMMAND_LINE_SIZE, since that constant is more appropriate here. Closes: https://github.com/ibm-s390-linux/s390-tools/pull/122 Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>