diff options
author | brking@us.ibm.com <brking@us.ibm.com> | 2005-05-02 20:50:59 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-05-20 13:53:44 -0400 |
commit | 1b69f645f224d9bab7fd5988aca818c9445f11d0 (patch) | |
tree | 4c1c4ea04b63a95b529fd112dc0a7eed6e65fe66 /drivers/scsi | |
parent | 7d0e11fb20b08790c71f5336b493662f952641c9 (diff) |
[SCSI] ipr: Array error logging fix
Bugme 4547. The following patch fixes a bug in ipr's error logging.
Signed-off-by: Brian King <brking@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/ipr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 5441531c0d8e..4ba9e886346d 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -1053,7 +1053,7 @@ static void ipr_log_array_error(struct ipr_ioa_cfg *ioa_cfg, | |||
1053 | array_entry->dev_res_addr.lun); | 1053 | array_entry->dev_res_addr.lun); |
1054 | } | 1054 | } |
1055 | 1055 | ||
1056 | if (array_entry->dev_res_addr.bus >= IPR_MAX_NUM_BUSES) { | 1056 | if (array_entry->expected_dev_res_addr.bus >= IPR_MAX_NUM_BUSES) { |
1057 | ipr_err("Expected Location: unknown\n"); | 1057 | ipr_err("Expected Location: unknown\n"); |
1058 | } else { | 1058 | } else { |
1059 | ipr_err("Expected Location: %d:%d:%d:%d\n", | 1059 | ipr_err("Expected Location: %d:%d:%d:%d\n", |