diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_isr.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_isr.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 5181d966fecb..8a539dd48753 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c | |||
@@ -963,15 +963,16 @@ qla2x00_status_entry(scsi_qla_host_t *ha, void *pkt) | |||
963 | break; | 963 | break; |
964 | 964 | ||
965 | case CS_DATA_UNDERRUN: | 965 | case CS_DATA_UNDERRUN: |
966 | DEBUG2(printk(KERN_INFO | ||
967 | "scsi(%ld:%d:%d) UNDERRUN status detected 0x%x-0x%x.\n", | ||
968 | ha->host_no, cp->device->id, cp->device->lun, comp_status, | ||
969 | scsi_status)); | ||
970 | |||
971 | resid = resid_len; | 966 | resid = resid_len; |
972 | if (scsi_status & SS_RESIDUAL_UNDER) { | 967 | if (scsi_status & SS_RESIDUAL_UNDER) { |
973 | cp->resid = resid; | 968 | cp->resid = resid; |
974 | CMD_RESID_LEN(cp) = resid; | 969 | CMD_RESID_LEN(cp) = resid; |
970 | } else { | ||
971 | DEBUG2(printk(KERN_INFO | ||
972 | "scsi(%ld:%d:%d) UNDERRUN status detected " | ||
973 | "0x%x-0x%x.\n", ha->host_no, cp->device->id, | ||
974 | cp->device->lun, comp_status, scsi_status)); | ||
975 | |||
975 | } | 976 | } |
976 | 977 | ||
977 | /* | 978 | /* |