summaryrefslogtreecommitdiff
path: root/drivers/scsi/atari_NCR5380.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/atari_NCR5380.c
parent92c0bfea9ba61ec2d3a6d4fb1af39358d5e52b71 (diff)
[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/atari_NCR5380.c')
-rw-r--r--drivers/scsi/atari_NCR5380.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/atari_NCR5380.c b/drivers/scsi/atari_NCR5380.c
index 007a14e5c3fd..e397129c90d1 100644
--- a/drivers/scsi/atari_NCR5380.c
+++ b/drivers/scsi/atari_NCR5380.c
@@ -507,7 +507,7 @@ static __inline__ void initialize_SCp(Scsi_Cmnd *cmd)
*/
if (cmd->use_sg) {
- cmd->SCp.buffer = (struct scatterlist *) cmd->buffer;
+ cmd->SCp.buffer = (struct scatterlist *) cmd->request_buffer;
cmd->SCp.buffers_residual = cmd->use_sg - 1;
cmd->SCp.ptr = (char *)page_address(cmd->SCp.buffer->page)+
cmd->SCp.buffer->offset;