summaryrefslogtreecommitdiff
path: root/drivers/scsi/sun3x_esp.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/sun3x_esp.c
parent92c0bfea9ba61ec2d3a6d4fb1af39358d5e52b71 (diff)
downloadlinux-3.10-79bd3f8563a275d1d068bbb9189a746dc6e96f3e.tar.gz
linux-3.10-79bd3f8563a275d1d068bbb9189a746dc6e96f3e.tar.bz2
linux-3.10-79bd3f8563a275d1d068bbb9189a746dc6e96f3e.zip
[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/sun3x_esp.c')
-rw-r--r--drivers/scsi/sun3x_esp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sun3x_esp.c b/drivers/scsi/sun3x_esp.c
index 1f328cae5c0..6b60536ac92 100644
--- a/drivers/scsi/sun3x_esp.c
+++ b/drivers/scsi/sun3x_esp.c
@@ -347,7 +347,7 @@ static void dma_mmu_release_scsi_one (struct NCR_ESP *esp, Scsi_Cmnd *sp)
static void dma_mmu_release_scsi_sgl (struct NCR_ESP *esp, Scsi_Cmnd *sp)
{
int sz = sp->use_sg - 1;
- struct scatterlist *sg = (struct scatterlist *)sp->buffer;
+ struct scatterlist *sg = (struct scatterlist *)sp->request_buffer;
while(sz >= 0) {
dvma_unmap((char *)sg[sz].dma_address);