commit | 7ee0031786dc3762f61d0ec9171bb75d56a5ac76 | [log] [tgz] |
---|---|---|
author | Tang Wenji <tang.wenji@zte.com.cn> | Sat Jul 08 11:28:25 2017 +0800 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Sun Jul 09 20:59:17 2017 -0700 |
tree | 858f476904d4781ed8bb49d90e6f55ce0def11e9 | |
parent | 388fe6996bf658146e70c0df986981eae4be0385 [diff] |
target: Fix return sense reason in target_scsi3_emulate_pr_out The sense reason should be TCM_PARAMETER_LIST_LENGTH_ERROR when parmeter length error. Also the cdb[1] & 0x1f has been assigned to local variable sa, so use sa instead of it. Signed-off-by: Tang Wenji <tang.wenji@zte.com.cn> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>