提交 6db874fb 编写于 作者: J James Bottomley 提交者: James Bottomley

[SCSI] hptiop: don't use cmnd->bufflen

use cmnd->request_bufflen instead.
Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 4f2ddba3
......@@ -545,7 +545,7 @@ static int hptiop_queuecommand(struct scsi_cmnd *scp,
req->header.context = cpu_to_le32(IOPMU_QUEUE_ADDR_HOST_BIT |
(u32)_req->index);
req->header.context_hi32 = 0;
req->dataxfer_length = cpu_to_le32(scp->bufflen);
req->dataxfer_length = cpu_to_le32(scp->request_bufflen);
req->channel = scp->device->channel;
req->target = scp->device->id;
req->lun = scp->device->lun;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册