diff options
author | Madhuranath Iyengar <Madhu.Iyengar@qlogic.com> | 2010-10-15 14:27:44 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-10-25 17:02:38 -0400 |
commit | 09d1dc2a001c599e8e5875e246a2f29be81ceef1 (patch) | |
tree | d838327eae29277e6969e831af70ba2f67a78851 /drivers/scsi/qla2xxx/qla_isr.c | |
parent | f19af1636bda8454401fa76ce4ad027412d5d07a (diff) |
[SCSI] qla2xxx: Remove scsi_cmnd->serial_number from debug traces
This patch cleans up any printk or debug tracing of the the
serial_number field in the qla2xxx driver.
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_isr.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_isr.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 55870a36ec6a..a47a38fa0e32 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c | |||
@@ -1431,9 +1431,8 @@ qla2x00_handle_sense(srb_t *sp, uint8_t *sense_data, uint32_t par_sense_len, | |||
1431 | rsp->status_srb = sp; | 1431 | rsp->status_srb = sp; |
1432 | 1432 | ||
1433 | DEBUG5(printk("%s(): Check condition Sense data, scsi(%ld:%d:%d:%d) " | 1433 | DEBUG5(printk("%s(): Check condition Sense data, scsi(%ld:%d:%d:%d) " |
1434 | "cmd=%p pid=%ld\n", __func__, sp->fcport->vha->host_no, | 1434 | "cmd=%p\n", __func__, sp->fcport->vha->host_no, |
1435 | cp->device->channel, cp->device->id, cp->device->lun, cp, | 1435 | cp->device->channel, cp->device->id, cp->device->lun, cp)); |
1436 | cp->serial_number)); | ||
1437 | if (sense_len) | 1436 | if (sense_len) |
1438 | DEBUG5(qla2x00_dump_buffer(cp->sense_buffer, sense_len)); | 1437 | DEBUG5(qla2x00_dump_buffer(cp->sense_buffer, sense_len)); |
1439 | } | 1438 | } |
@@ -1799,10 +1798,10 @@ out: | |||
1799 | if (logit) | 1798 | if (logit) |
1800 | DEBUG2(qla_printk(KERN_INFO, ha, | 1799 | DEBUG2(qla_printk(KERN_INFO, ha, |
1801 | "scsi(%ld:%d:%d) FCP command status: 0x%x-0x%x (0x%x) " | 1800 | "scsi(%ld:%d:%d) FCP command status: 0x%x-0x%x (0x%x) " |
1802 | "oxid=0x%x ser=0x%lx cdb=%02x%02x%02x len=0x%x " | 1801 | "oxid=0x%x cdb=%02x%02x%02x len=0x%x " |
1803 | "rsp_info=0x%x resid=0x%x fw_resid=0x%x\n", vha->host_no, | 1802 | "rsp_info=0x%x resid=0x%x fw_resid=0x%x\n", vha->host_no, |
1804 | cp->device->id, cp->device->lun, comp_status, scsi_status, | 1803 | cp->device->id, cp->device->lun, comp_status, scsi_status, |
1805 | cp->result, ox_id, cp->serial_number, cp->cmnd[0], | 1804 | cp->result, ox_id, cp->cmnd[0], |
1806 | cp->cmnd[1], cp->cmnd[2], scsi_bufflen(cp), rsp_info_len, | 1805 | cp->cmnd[1], cp->cmnd[2], scsi_bufflen(cp), rsp_info_len, |
1807 | resid_len, fw_resid_len)); | 1806 | resid_len, fw_resid_len)); |
1808 | 1807 | ||