Added more debugging code.
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Mon, 4 Jan 2010 20:56:00 +0000 (20:56 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Mon, 4 Jan 2010 20:56:00 +0000 (20:56 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1430 d57e44dd-8a1f-0410-8b47-8ef2f437770f

srpt/src/ib_srpt.c

index 88e3e0b..1a7ba71 100644 (file)
@@ -1340,6 +1340,12 @@ static int srpt_build_cmd_rsp(struct srpt_rdma_ch *ch,
        } else
                sense_data_len = 0;
 
+#if 0
+       printk(KERN_DEBUG "SRP response:\n");
+       print_hex_dump(KERN_DEBUG, "", DUMP_PREFIX_OFFSET, 16, 1, srp_rsp,
+                      sizeof(*srp_rsp) + sense_data_len, 1);
+#endif
+
        return sizeof(*srp_rsp) + sense_data_len;
 }