diff options
Diffstat (limited to 'drivers/scsi/nsp32.c')
-rw-r--r-- | drivers/scsi/nsp32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/nsp32.c b/drivers/scsi/nsp32.c index 30ee0ef4b45..5c55e152e71 100644 --- a/drivers/scsi/nsp32.c +++ b/drivers/scsi/nsp32.c | |||
@@ -1636,7 +1636,7 @@ static void nsp32_scsi_done(struct scsi_cmnd *SCpnt) | |||
1636 | 1636 | ||
1637 | if (SCpnt->use_sg) { | 1637 | if (SCpnt->use_sg) { |
1638 | pci_unmap_sg(data->Pci, | 1638 | pci_unmap_sg(data->Pci, |
1639 | (struct scatterlist *)SCpnt->buffer, | 1639 | (struct scatterlist *)SCpnt->request_buffer, |
1640 | SCpnt->use_sg, SCpnt->sc_data_direction); | 1640 | SCpnt->use_sg, SCpnt->sc_data_direction); |
1641 | } else { | 1641 | } else { |
1642 | pci_unmap_single(data->Pci, | 1642 | pci_unmap_single(data->Pci, |