mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Before commit5fb6434548("zipl: add get_common_components() and finalize_common_address_data()") the default kernel parmline was only overwritten if a parmline was specified. After the commit it was always overwritten, even if no parmline was specified. Let's change this behavior back by adding a NULL-pointer check. For dump types this change changes the behavior before commit5fb6434548("zipl: add get_common_components() and finalize_common_address_data()"). Fixes:5fb6434548("zipl: add get_common_components() and finalize_common_address_data()") Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>