qla2xxx: Report both rsp_info and rsp_info_len
authorBart Van Assche <bart.vanassche@sandisk.com>
Thu, 9 Jul 2015 14:22:38 +0000 (07:22 -0700)
committerJames Bottomley <JBottomley@Odin.com>
Wed, 26 Aug 2015 17:33:40 +0000 (10:33 -0700)
Let the debug statement in qlafx00_tm_iocb_entry() report both rsp_info
and rsp_info_len instead of reporting rsp_info_len twice.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Acked-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/qla2xxx/qla_mr.c

index 6d190b4b82a072b2657e03ede8caa2d0a45e5d52..878fd3d961f843ef3900c3db58ba75e376e15da1 100644 (file)
@@ -2528,12 +2528,12 @@ check_scsi_status:
                ql_dbg(ql_dbg_io, fcport->vha, 0x3058,
                    "FCP command status: 0x%x-0x%x (0x%x) nexus=%ld:%d:%llu "
                    "tgt_id: 0x%x lscsi_status: 0x%x cdb=%10phN len=0x%x "
-                   "rsp_info=0x%x resid=0x%x fw_resid=0x%x sense_len=0x%x, "
+                   "rsp_info=%p resid=0x%x fw_resid=0x%x sense_len=0x%x, "
                    "par_sense_len=0x%x, rsp_info_len=0x%x\n",
                    comp_status, scsi_status, res, vha->host_no,
                    cp->device->id, cp->device->lun, fcport->tgt_id,
                    lscsi_status, cp->cmnd, scsi_bufflen(cp),
-                   rsp_info_len, resid_len, fw_resid_len, sense_len,
+                   rsp_info, resid_len, fw_resid_len, sense_len,
                    par_sense_len, rsp_info_len);
 
        if (rsp->status_srb == NULL)