Debugging cleanups
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Fri, 20 Oct 2006 18:29:55 +0000 (18:29 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Fri, 20 Oct 2006 18:29:55 +0000 (18:29 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@11 d57e44dd-8a1f-0410-8b47-8ef2f437770f

qla2x00t/qla2x00-target/qla2x00t.c

index 6925204..c3fcd44 100644 (file)
@@ -772,10 +772,10 @@ static int q2t_xmit_response(struct scst_cmd *scst_cmd)
                prm.residual =
                    le32_to_cpu(prm.cmd->atio.data_length) - prm.bufflen;
                if (prm.residual > 0) {
                prm.residual =
                    le32_to_cpu(prm.cmd->atio.data_length) - prm.bufflen;
                if (prm.residual > 0) {
-                       TRACE_MGMT_DBG("Residual underflow: %d", prm.residual);
+                       TRACE_DBG("Residual underflow: %d", prm.residual);
                        prm.rq_result |= SS_RESIDUAL_UNDER;
                } else if (prm.residual < 0) {
                        prm.rq_result |= SS_RESIDUAL_UNDER;
                } else if (prm.residual < 0) {
-                       TRACE_MGMT_DBG("Residual overflow: %d", prm.residual);
+                       TRACE_DBG("Residual overflow: %d", prm.residual);
                        prm.rq_result |= SS_RESIDUAL_OVER;
                        prm.residual = -prm.residual;
                }
                        prm.rq_result |= SS_RESIDUAL_OVER;
                        prm.residual = -prm.residual;
                }