aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorChad Dupuis <chad.dupuis@qlogic.com>2013-08-27 01:37:39 -0400
committerJames Bottomley <JBottomley@Parallels.com>2013-09-03 10:28:03 -0400
commit0e948975efe2b5aef19f5090279f657b5262a64a (patch)
tree6e0c22041b5124037a15c2d9065dd0ad0ef9d7fd /drivers/scsi
parent71e56003621b2347405c65c3061e5dc0fa9cdd98 (diff)
[SCSI] qla2xxx: Make log message that prints when a completion status requires a port down more readable.
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qla2xxx/qla_isr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c
index b4fb8a6b8aa0..4a9782ce7d07 100644
--- a/drivers/scsi/qla2xxx/qla_isr.c
+++ b/drivers/scsi/qla2xxx/qla_isr.c
@@ -2178,8 +2178,10 @@ check_scsi_status:
2178 } 2178 }
2179 2179
2180 ql_dbg(ql_dbg_io, fcport->vha, 0x3021, 2180 ql_dbg(ql_dbg_io, fcport->vha, 0x3021,
2181 "Port down status: port-state=0x%x.\n", 2181 "Port to be marked lost on fcport=%02x%02x%02x, current "
2182 atomic_read(&fcport->state)); 2182 "port state= %s.\n", fcport->d_id.b.domain,
2183 fcport->d_id.b.area, fcport->d_id.b.al_pa,
2184 port_state_str[atomic_read(&fcport->state)]);
2183 2185
2184 if (atomic_read(&fcport->state) == FCS_ONLINE) 2186 if (atomic_read(&fcport->state) == FCS_ONLINE)
2185 qla2x00_mark_device_lost(fcport->vha, fcport, 1, 1); 2187 qla2x00_mark_device_lost(fcport->vha, fcport, 1, 1);