aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@SteelEye.com>2006-11-24 04:35:42 +0100
committerAdrian Bunk <bunk@stusta.de>2006-11-24 04:35:42 +0100
commit7e5cdf9cd620f5b471661400a537ca56e1ded68d (patch)
tree72ab9af525b2908336afae2b40c05e7c31c4f0ce /drivers/scsi
parent9f7887935b72f0605bce42f9cbb6003abc0f9b78 (diff)
[SCSI] hptiop: don't use cmnd->bufflen
use cmnd->request_bufflen instead. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com> Signed-off-by: Adrian Bunk <bunk@stusta.de>
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 a96751cad8c..f77808329e7 100644
--- a/drivers/scsi/hptiop.c
+++ b/drivers/scsi/hptiop.c
@@ -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;