aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorSwen Schillig <swen@vnet.ibm.com>2008-10-01 06:42:26 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-10-03 13:11:56 -0400
commit41bfcf90101601f9507240ff0435c1b73d28a132 (patch)
tree7520b2b4a62960a924b3bd95cee3f675ad70592c /drivers/s390
parent091694a556d168dc9df4d79e3a40116550b183cf (diff)
[SCSI] zfcp: fix double dbf id usage
Trace ids 107 and 3 are used twice, fix this to have unique ids for the erp triggers. Signed-off-by: Swen Schillig <swen@vnet.ibm.com> Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/scsi/zfcp_dbf.c2
-rw-r--r--drivers/s390/scsi/zfcp_erp.c2
-rw-r--r--drivers/s390/scsi/zfcp_fsf.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/scsi/zfcp_dbf.c b/drivers/s390/scsi/zfcp_dbf.c
index 9c9f9cfcd46d..060f5f2352ec 100644
--- a/drivers/s390/scsi/zfcp_dbf.c
+++ b/drivers/s390/scsi/zfcp_dbf.c
@@ -572,7 +572,7 @@ static const char *zfcp_rec_dbf_ids[] = {
572 [81] = "shared read-write unit access unsupported", 572 [81] = "shared read-write unit access unsupported",
573 [82] = "incoming rscn", 573 [82] = "incoming rscn",
574 [83] = "incoming wwpn", 574 [83] = "incoming wwpn",
575 [84] = "", 575 [84] = "wka port handle not valid close port",
576 [85] = "online", 576 [85] = "online",
577 [86] = "offline", 577 [86] = "offline",
578 [87] = "ccw device gone", 578 [87] = "ccw device gone",
diff --git a/drivers/s390/scsi/zfcp_erp.c b/drivers/s390/scsi/zfcp_erp.c
index 26049c663438..782313131870 100644
--- a/drivers/s390/scsi/zfcp_erp.c
+++ b/drivers/s390/scsi/zfcp_erp.c
@@ -1443,7 +1443,7 @@ void zfcp_erp_thread_kill(struct zfcp_adapter *adapter)
1443{ 1443{
1444 atomic_set_mask(ZFCP_STATUS_ADAPTER_ERP_THREAD_KILL, &adapter->status); 1444 atomic_set_mask(ZFCP_STATUS_ADAPTER_ERP_THREAD_KILL, &adapter->status);
1445 up(&adapter->erp_ready_sem); 1445 up(&adapter->erp_ready_sem);
1446 zfcp_rec_dbf_event_thread_lock(2, adapter); 1446 zfcp_rec_dbf_event_thread_lock(3, adapter);
1447 1447
1448 wait_event(adapter->erp_thread_wqh, 1448 wait_event(adapter->erp_thread_wqh,
1449 !(atomic_read(&adapter->status) & 1449 !(atomic_read(&adapter->status) &
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c
index 600ef5711acb..739356a5c123 100644
--- a/drivers/s390/scsi/zfcp_fsf.c
+++ b/drivers/s390/scsi/zfcp_fsf.c
@@ -1641,7 +1641,7 @@ static void zfcp_fsf_close_wka_port_handler(struct zfcp_fsf_req *req)
1641 1641
1642 if (req->qtcb->header.fsf_status == FSF_PORT_HANDLE_NOT_VALID) { 1642 if (req->qtcb->header.fsf_status == FSF_PORT_HANDLE_NOT_VALID) {
1643 req->status |= ZFCP_STATUS_FSFREQ_ERROR; 1643 req->status |= ZFCP_STATUS_FSFREQ_ERROR;
1644 zfcp_erp_adapter_reopen(wka_port->adapter, 0, 107, req); 1644 zfcp_erp_adapter_reopen(wka_port->adapter, 0, 84, req);
1645 } 1645 }
1646 1646
1647 wka_port->status = ZFCP_WKA_PORT_OFFLINE; 1647 wka_port->status = ZFCP_WKA_PORT_OFFLINE;