projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f2ddba
)
[SCSI] hptiop: don't use cmnd->bufflen
author
James Bottomley
<James.Bottomley@steeleye.com>
Wed, 14 Jun 2006 02:40:34 +0000
(21:40 -0500)
committer
James Bottomley
<jejb@mulgrave.il.steeleye.com>
Tue, 20 Jun 2006 00:32:04 +0000
(19:32 -0500)
use cmnd->request_bufflen instead.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/hptiop.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/hptiop.c
b/drivers/scsi/hptiop.c
index a96751cad8cf84e131d886a3232da4093929e2af..f77808329e7cb8937913bb725ef4d0b402e8d9c0 100644
(file)
--- 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;