We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0832b3 commit ecc0df0Copy full SHA for ecc0df0
arch/s390/kernel/ipl.c
@@ -397,7 +397,7 @@ size_t append_ipl_scpdata(char *dest, size_t len)
397
size_t rc;
398
399
rc = 0;
400
- if (ipl_block.hdr.pbt == DIAG308_IPL_TYPE_FCP)
+ if (ipl_block_valid && ipl_block.hdr.pbt == DIAG308_IPL_TYPE_FCP)
401
rc = reipl_append_ascii_scpdata(dest, len, &ipl_block);
402
else
403
dest[0] = 0;
0 commit comments