s390/ipl: add missing IPL_TYPE_ECKD_DUMP case to ipl_init()
authorMikhail Zaslonko <zaslonko@linux.ibm.com>
Wed, 8 Nov 2023 17:18:52 +0000 (18:18 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Wed, 22 Nov 2023 12:54:57 +0000 (13:54 +0100)
Add missing IPL_TYPE_ECKD_DUMP case to ipl_init() creating
ECKD ipl device attribute group similar to IPL_TYPE_ECKD case.
Commit e2d2a2968f2a ("s390/ipl: add eckd dump support") should
have had it from the beginning.

Fixes: e2d2a2968f2a ("s390/ipl: add eckd dump support")
Signed-off-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/ipl.c

index cc364fc..ba75f6b 100644 (file)
@@ -666,6 +666,7 @@ static int __init ipl_init(void)
                                                &ipl_ccw_attr_group_lpar);
                break;
        case IPL_TYPE_ECKD:
+       case IPL_TYPE_ECKD_DUMP:
                rc = sysfs_create_group(&ipl_kset->kobj, &ipl_eckd_attr_group);
                break;
        case IPL_TYPE_FCP: