>>>>> "Subhash" == subhashj  <subha...@codeaurora.org> writes:

Subhash> Looks good to me.

> -     /* Data segment length */
> -     ucd_req_ptr->header.dword_2 = UPIU_HEADER_DWORD(
> -                     0, 0, len >> 8, (u8)len);
> +     /* Data segment length only need for WRITE_DESC */
> +     if (query->request.upiu_req.opcode == UPIU_QUERY_OPCODE_WRITE_DESC)
> +             ucd_req_ptr->header.dword_2 =
> +                     UPIU_HEADER_DWORD(0, 0, (len >> 8), (u8)len);
> +     else
> +             ucd_req_ptr->header.dword_2 = 0;

What about READ_DESC?

-- 
Martin K. Petersen      Oracle Linux Engineering
--
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