diff options
-rw-r--r-- | drivers/s390/block/dasd_eckd.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/s390/block/dasd_eckd.c b/drivers/s390/block/dasd_eckd.c index a2edf2a7ace9..29397a9dba68 100644 --- a/drivers/s390/block/dasd_eckd.c +++ b/drivers/s390/block/dasd_eckd.c | |||
@@ -5231,7 +5231,7 @@ static int dasd_hosts_print(struct dasd_device *device, struct seq_file *m) | |||
5231 | struct dasd_ckd_path_group_entry *entry; | 5231 | struct dasd_ckd_path_group_entry *entry; |
5232 | struct dasd_ckd_host_information *info; | 5232 | struct dasd_ckd_host_information *info; |
5233 | char sysplex[9] = ""; | 5233 | char sysplex[9] = ""; |
5234 | int rc, i, j; | 5234 | int rc, i; |
5235 | 5235 | ||
5236 | access = kzalloc(sizeof(*access), GFP_NOIO); | 5236 | access = kzalloc(sizeof(*access), GFP_NOIO); |
5237 | if (!access) { | 5237 | if (!access) { |
@@ -5251,10 +5251,7 @@ static int dasd_hosts_print(struct dasd_device *device, struct seq_file *m) | |||
5251 | entry = (struct dasd_ckd_path_group_entry *) | 5251 | entry = (struct dasd_ckd_path_group_entry *) |
5252 | (info->entry + i * info->entry_size); | 5252 | (info->entry + i * info->entry_size); |
5253 | /* PGID */ | 5253 | /* PGID */ |
5254 | seq_puts(m, "pgid "); | 5254 | seq_printf(m, "pgid %*phN\n", 11, entry->pgid); |
5255 | for (j = 0; j < 11; j++) | ||
5256 | seq_printf(m, "%02x", entry->pgid[j]); | ||
5257 | seq_putc(m, '\n'); | ||
5258 | /* FLAGS */ | 5255 | /* FLAGS */ |
5259 | seq_printf(m, "status_flags %02x\n", entry->status_flags); | 5256 | seq_printf(m, "status_flags %02x\n", entry->status_flags); |
5260 | /* SYSPLEX NAME */ | 5257 | /* SYSPLEX NAME */ |