summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/NCR53C9x.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/NCR53C9x.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/NCR53C9x.c')
-rw-r--r--drivers/scsi/NCR53C9x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/NCR53C9x.c b/drivers/scsi/NCR53C9x.c
index 8a4659e..085db48 100644
--- a/drivers/scsi/NCR53C9x.c
+++ b/drivers/scsi/NCR53C9x.c
@@ -911,7 +911,7 @@ static void esp_get_dmabufs(struct NCR_ESP *esp, Scsi_Cmnd *sp)
sp->SCp.ptr =
(char *) virt_to_phys(sp->request_buffer);
} else {
- sp->SCp.buffer = (struct scatterlist *) sp->buffer;
+ sp->SCp.buffer = (struct scatterlist *) sp->request_buffer;
sp->SCp.buffers_residual = sp->use_sg - 1;
sp->SCp.this_residual = sp->SCp.buffer->length;
if (esp->dma_mmu_get_scsi_sgl)
OpenPOWER on IntegriCloud