diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2007-05-08 05:14:41 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-05-08 12:55:02 -0400 |
commit | 1d589edf9eeb60c9c8e62753d05cf4c8e094e5a7 (patch) | |
tree | a87107776a15e1ff0df252f9a0e818321c3b8dcb /drivers/s390/scsi/zfcp_aux.c | |
parent | 463fc696ed723a9d854113e370cc177b0b63de42 (diff) |
[SCSI] zfcp: print S_ID and D_ID with 3 bytes
S_ID and D_ID are defined in the FCP spec as 3 byte fields.
Change the output in zfcp print statements accordingly to print
them with only 3 bytes.
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_aux.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_aux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/scsi/zfcp_aux.c b/drivers/s390/scsi/zfcp_aux.c index 1f9554e08013..ec3f664f6c80 100644 --- a/drivers/s390/scsi/zfcp_aux.c +++ b/drivers/s390/scsi/zfcp_aux.c | |||
@@ -1497,7 +1497,7 @@ zfcp_fsf_incoming_els_plogi(struct zfcp_adapter *adapter, | |||
1497 | 1497 | ||
1498 | if (!port || (port->wwpn != (*(wwn_t *) &els_plogi->serv_param.wwpn))) { | 1498 | if (!port || (port->wwpn != (*(wwn_t *) &els_plogi->serv_param.wwpn))) { |
1499 | ZFCP_LOG_DEBUG("ignored incoming PLOGI for nonexisting port " | 1499 | ZFCP_LOG_DEBUG("ignored incoming PLOGI for nonexisting port " |
1500 | "with d_id 0x%08x on adapter %s\n", | 1500 | "with d_id 0x%06x on adapter %s\n", |
1501 | status_buffer->d_id, | 1501 | status_buffer->d_id, |
1502 | zfcp_get_busid_by_adapter(adapter)); | 1502 | zfcp_get_busid_by_adapter(adapter)); |
1503 | } else { | 1503 | } else { |
@@ -1522,7 +1522,7 @@ zfcp_fsf_incoming_els_logo(struct zfcp_adapter *adapter, | |||
1522 | 1522 | ||
1523 | if (!port || (port->wwpn != els_logo->nport_wwpn)) { | 1523 | if (!port || (port->wwpn != els_logo->nport_wwpn)) { |
1524 | ZFCP_LOG_DEBUG("ignored incoming LOGO for nonexisting port " | 1524 | ZFCP_LOG_DEBUG("ignored incoming LOGO for nonexisting port " |
1525 | "with d_id 0x%08x on adapter %s\n", | 1525 | "with d_id 0x%06x on adapter %s\n", |
1526 | status_buffer->d_id, | 1526 | status_buffer->d_id, |
1527 | zfcp_get_busid_by_adapter(adapter)); | 1527 | zfcp_get_busid_by_adapter(adapter)); |
1528 | } else { | 1528 | } else { |
@@ -1704,7 +1704,7 @@ static void zfcp_ns_gid_pn_handler(unsigned long data) | |||
1704 | /* looks like a valid d_id */ | 1704 | /* looks like a valid d_id */ |
1705 | port->d_id = ct_iu_resp->d_id & ZFCP_DID_MASK; | 1705 | port->d_id = ct_iu_resp->d_id & ZFCP_DID_MASK; |
1706 | atomic_set_mask(ZFCP_STATUS_PORT_DID_DID, &port->status); | 1706 | atomic_set_mask(ZFCP_STATUS_PORT_DID_DID, &port->status); |
1707 | ZFCP_LOG_DEBUG("adapter %s: wwpn=0x%016Lx ---> d_id=0x%08x\n", | 1707 | ZFCP_LOG_DEBUG("adapter %s: wwpn=0x%016Lx ---> d_id=0x%06x\n", |
1708 | zfcp_get_busid_by_port(port), port->wwpn, port->d_id); | 1708 | zfcp_get_busid_by_port(port), port->wwpn, port->d_id); |
1709 | goto out; | 1709 | goto out; |
1710 | 1710 | ||