[S390] hypfs: Use subcode 6 if subcode 7 is not available
[firefly-linux-kernel-4.4.55.git] / arch / s390 / hypfs / hypfs_diag.c
index 704dd396257b4c168b4082d5888c517ca7c378b4..77df726180ba8253d4d4ff896aa7556d1fbe07ef 100644 (file)
@@ -438,7 +438,7 @@ static int diag204_probe(void)
                }
                if (diag204((unsigned long)SUBC_STIB6 |
                            (unsigned long)INFO_EXT, pages, buf) >= 0) {
-                       diag204_store_sc = SUBC_STIB7;
+                       diag204_store_sc = SUBC_STIB6;
                        diag204_info_type = INFO_EXT;
                        goto out;
                }