Skip to content

Commit

Permalink
[SCSI] hptiop: don't use cmnd->bufflen
Browse files Browse the repository at this point in the history
use cmnd->request_bufflen instead.

Signed-off-by: James Bottomley <[email protected]>
  • Loading branch information
James Bottomley authored and James Bottomley committed Jun 20, 2006
1 parent 4f2ddba commit 6db874f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/hptiop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6db874f

Please sign in to comment.