Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Thumshirn <jthumshirn@suse.de>2018-08-02 16:12:25 +0200
committerJohannes Thumshirn <jthumshirn@suse.de>2018-08-03 09:55:59 +0200
commitc794ddf833ac1b1ac27d6c8bc21206414705ffce (patch)
tree1b142f3860dfe7cb847b28447bbdfac917c0ba54
parentb207c193e42c77c2fcd608c80e23c7d8a0df48b3 (diff)
s390/ipl: ensure loadparm valid flag is set (bsc#1103421).
-rw-r--r--arch/s390/kernel/ipl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c
index ffed123b76c7..b565e784bae8 100644
--- a/arch/s390/kernel/ipl.c
+++ b/arch/s390/kernel/ipl.c
@@ -800,6 +800,7 @@ static ssize_t reipl_generic_loadparm_store(struct ipl_parameter_block *ipb,
/* copy and convert to ebcdic */
memcpy(ipb->hdr.loadparm, buf, lp_len);
ASCEBC(ipb->hdr.loadparm, LOADPARM_LEN);
+ ipb->hdr.flags |= DIAG308_FLAGS_LP_VALID;
return len;
}