aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2006-06-13 22:40:34 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-06-19 20:32:04 -0400
commit6db874fbdbedba5e15e76cc03b42f52ea70338c0 (patch)
treefc55c8bb280cb1137468270cac12d12a9582e6e4 /drivers/scsi
parent4f2ddba39a550eba9233d9f0e8309092da0ba293 (diff)
[SCSI] hptiop: don't use cmnd->bufflen
use cmnd->request_bufflen instead. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/hptiop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/hptiop.c b/drivers/scsi/hptiop.c
index a96751cad8cf..f77808329e7c 100644
--- a/drivers/scsi/hptiop.c
+++ b/drivers/scsi/hptiop.c
@@ -545,7 +545,7 @@ static int hptiop_queuecommand(struct scsi_cmnd *scp,
545 req->header.context = cpu_to_le32(IOPMU_QUEUE_ADDR_HOST_BIT | 545 req->header.context = cpu_to_le32(IOPMU_QUEUE_ADDR_HOST_BIT |
546 (u32)_req->index); 546 (u32)_req->index);
547 req->header.context_hi32 = 0; 547 req->header.context_hi32 = 0;
548 req->dataxfer_length = cpu_to_le32(scp->bufflen); 548 req->dataxfer_length = cpu_to_le32(scp->request_bufflen);
549 req->channel = scp->device->channel; 549 req->channel = scp->device->channel;
550 req->target = scp->device->id; 550 req->target = scp->device->id;
551 req->lun = scp->device->lun; 551 req->lun = scp->device->lun;