Commit 1b69f645 authored by brking@us.ibm.com's avatar brking@us.ibm.com Committed by James Bottomley

[SCSI] ipr: Array error logging fix

Bugme 4547. The following patch fixes a bug in ipr's error logging.
Signed-off-by: default avatarBrian King <brking@us.ibm.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 7d0e11fb
...@@ -1053,7 +1053,7 @@ static void ipr_log_array_error(struct ipr_ioa_cfg *ioa_cfg, ...@@ -1053,7 +1053,7 @@ static void ipr_log_array_error(struct ipr_ioa_cfg *ioa_cfg,
array_entry->dev_res_addr.lun); array_entry->dev_res_addr.lun);
} }
if (array_entry->dev_res_addr.bus >= IPR_MAX_NUM_BUSES) { if (array_entry->expected_dev_res_addr.bus >= IPR_MAX_NUM_BUSES) {
ipr_err("Expected Location: unknown\n"); ipr_err("Expected Location: unknown\n");
} else { } else {
ipr_err("Expected Location: %d:%d:%d:%d\n", ipr_err("Expected Location: %d:%d:%d:%d\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment