mirror of
https://github.com/SCST-project/scst.git
synced 2026-09-19 14:34:18 +00:00
Sense handling improvements
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4408 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+1
-1
@@ -1612,7 +1612,7 @@ static int srpt_build_cmd_rsp(struct srpt_rdma_ch *ch,
|
||||
srp_rsp->tag = tag;
|
||||
srp_rsp->status = status;
|
||||
|
||||
if (!SCST_SENSE_VALID(sense_data))
|
||||
if (!scst_sense_valid(sense_data))
|
||||
sense_data_len = 0;
|
||||
else {
|
||||
BUILD_BUG_ON(MIN_MAX_RSP_SIZE <= sizeof(*srp_rsp));
|
||||
|
||||
Reference in New Issue
Block a user