mirror of https://gitee.com/openkylin/linux.git
[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>
This commit is contained in:
parent
7d0e11fb20
commit
1b69f645f2
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue