projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d0e11f
)
[SCSI] ipr: Array error logging fix
author
brking@us.ibm.com
<brking@us.ibm.com>
Tue, 3 May 2005 00:50:59 +0000
(19:50 -0500)
committer
James 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/ipr.c
b/drivers/scsi/ipr.c
index 5441531c0d8e54ad31f6849d30e423808dd21099..4ba9e886346dc811e3120706b088fe9ec2009751 100644
(file)
--- 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,
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",