On Sat, Feb 9, 2013 at 1:23 AM, Chris Boot <bo...@bootc.net> wrote:
>> +       case TCM_PARAMETER_LIST_LENGTH_ERROR:
>> +               /* CURRENT ERROR */
>> +               buffer[0] = 0x70;
>> +               buffer[SPC_ADD_SENSE_LEN_OFFSET] = 10;
>> +               /* ILLEGAL REQUEST */
>> +               buffer[SPC_SENSE_KEY_OFFSET] = ILLEGAL_REQUEST;
>> +               /* INVALID FIELD IN PARAMETER LIST */
>> +               buffer[SPC_ASC_KEY_OFFSET] = 0x1a;
>> +               break;
>>         case TCM_UNEXPECTED_UNSOLICITED_DATA:
>>                 /* CURRENT ERROR */
>>                 buffer[0] = 0x70;
>
>
> Nitpick: I suspect a simple copy & paste error; "INVALID FIELD IN PARAMETER
> LIST" in your comment should probably read "PARAMETER LIST LENGTH ERROR"
> instead.

Yes, the comment is a copy and paste error.  The ASC of 1Ah is correct for
PARAMETER LIST LENGTH ERROR.  Thanks & good catch.

Nic, want me to resend?

 - R.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to