Commit 6db874fb authored by James Bottomley's avatar James Bottomley Committed by James Bottomley
Browse files

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



use cmnd->request_bufflen instead.
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment