s390/ipl: Fix incorrect initialization of len fields in nvme reipl block
authorAlexander Egorenkov <egorenar@linux.ibm.com>
Fri, 10 May 2024 10:41:25 +0000 (12:41 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 14 May 2024 18:21:54 +0000 (20:21 +0200)
commit9c922b73acaf39f867668d9cbe5dc69c23511f84
treee616f9be8a4663a5257ef9550781941247c3208b
parent247576bf624a200b9d4dba6126e760af0d5ebe0e
s390/ipl: Fix incorrect initialization of len fields in nvme reipl block

Use correct symbolic constants IPL_BP_NVME_LEN and IPL_BP0_NVME_LEN
to initialize nvme reipl block when 'scp_data' sysfs attribute is
being updated. This bug had not been detected before because
the corresponding fcp and nvme symbolic constants are equal.

Fixes: 23a457b8d57d ("s390: nvme reipl")
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/ipl.c