]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
[SCSI] ipr: Array error logging fix
authorbrking@us.ibm.com <brking@us.ibm.com>
Tue, 3 May 2005 00:50:59 +0000 (19:50 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Fri, 20 May 2005 17:53:44 +0000 (12:53 -0500)
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>
drivers/scsi/ipr.c

index 5441531c0d8e54ad31f6849d30e423808dd21099..4ba9e886346dc811e3120706b088fe9ec2009751 100644 (file)
@@ -1053,7 +1053,7 @@ static void ipr_log_array_error(struct ipr_ioa_cfg *ioa_cfg,
                                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");
                } else {
                        ipr_err("Expected Location: %d:%d:%d:%d\n",