mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 22:26:23 +00:00
- Fixed minor problem in iSCSI-SCST
- Important reference counting and barriers usage cleanups - Sense buffer made dynamic - Other minor improvements and cleanups - Docs updates git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@287 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+1
-1
@@ -1611,7 +1611,7 @@ mpt_xmit_response(struct scst_cmd *scst_cmd)
|
||||
|
||||
TRACE_DBG("rq_result=%x, resp_flags=%x, %x, %d", prm.rq_result,
|
||||
resp_flags, prm.bufflen, prm.sense_buffer_len);
|
||||
if (prm.rq_result != 0)
|
||||
if ((prm.rq_result != 0) && (prm.sense_buffer != NULL))
|
||||
TRACE_BUFFER("Sense", prm.sense_buffer, prm.sense_buffer_len);
|
||||
|
||||
if ((resp_flags & SCST_TSC_FLAG_STATUS) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user