summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qlogicpti.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2006-07-14 10:29:34 +0200
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-07-14 09:41:13 -0500
commit79bd3f8563a275d1d068bbb9189a746dc6e96f3e (patch)
treee4139f1bdf0b32ac05aeb225709272e03ac1f302 /drivers/scsi/qlogicpti.c
parent92c0bfea9ba61ec2d3a6d4fb1af39358d5e52b71 (diff)
downloadop-kernel-dev-79bd3f8563a275d1d068bbb9189a746dc6e96f3e.zip
op-kernel-dev-79bd3f8563a275d1d068bbb9189a746dc6e96f3e.tar.gz
[SCSI] More buffer->request_buffer changes
Seem like quite a few splipped through the cracks. Here's a patch to update all references I could find: Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qlogicpti.c')
-rw-r--r--drivers/scsi/qlogicpti.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qlogicpti.c b/drivers/scsi/qlogicpti.c
index 69e0551..5b2f074 100644
--- a/drivers/scsi/qlogicpti.c
+++ b/drivers/scsi/qlogicpti.c
@@ -874,7 +874,7 @@ static inline int load_cmd(struct scsi_cmnd *Cmnd, struct Command_Entry *cmd,
if (Cmnd->use_sg) {
int sg_count;
- sg = (struct scatterlist *) Cmnd->buffer;
+ sg = (struct scatterlist *) Cmnd->request_buffer;
sg_count = sbus_map_sg(qpti->sdev, sg, Cmnd->use_sg, Cmnd->sc_data_direction);
ds = cmd->dataseg;
@@ -1278,7 +1278,7 @@ static struct scsi_cmnd *qlogicpti_intr_handler(struct qlogicpti *qpti)
if (Cmnd->use_sg) {
sbus_unmap_sg(qpti->sdev,
- (struct scatterlist *)Cmnd->buffer,
+ (struct scatterlist *)Cmnd->request_buffer,
Cmnd->use_sg,
Cmnd->sc_data_direction);
} else {
OpenPOWER on IntegriCloud