mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Some development kernel versions provide an 8-digit date number like "20220325" in place of the second kernel sublevel, while the data format used to send this information to the HMC only supports 16 Bit numbers. As a result, the HMC displays a seemingly random sublevel number. Fix this by replacing excessive sublevel numbers with 0 to ensure that these numbers are handled consistently. Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>