mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl: fix incorrect setup of stage3 flags
Stage 3 flags is a 64bit integer but function add_ipl_program
used a 32bit integer instead. Due to this bug
STAGE3_FLAG_SCSI and STAGE3_FLAG_KDUMP were not correctly set.
Fixes: 412d3e8c ("zipl: consolidate stage3_params structs and stage3 flags")
Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
046d27a05b
commit
fd817280d3
+2
-1
@@ -509,7 +509,8 @@ add_ipl_program(int fd, struct job_ipl_data* ipl, disk_blockptr_t* program,
|
|||||||
size_t stage3_params_size;
|
size_t stage3_params_size;
|
||||||
const char *comp_name[10];
|
const char *comp_name[10];
|
||||||
size_t signature_size;
|
size_t signature_size;
|
||||||
int offset, flags = 0;
|
int offset;
|
||||||
|
uint64_t flags = 0;
|
||||||
void *stage3_params;
|
void *stage3_params;
|
||||||
struct stat stats;
|
struct stat stats;
|
||||||
void *signature;
|
void *signature;
|
||||||
|
|||||||
Reference in New Issue
Block a user