[SCSI] 3w-9xxx: scsi_dma_unmap fix
authoradam radford <aradford@gmail.com>
Tue, 5 May 2009 18:45:37 +0000 (11:45 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 15 May 2009 16:23:32 +0000 (12:23 -0400)
commit8454e9888cb0316dd296fd5d47c612248ed5e1d1
tree51ce1112e7a0ddf385b88c501cd12ee498b90c24
parent5e43754fd949193252ecb470d7fb08b547a1e310
[SCSI] 3w-9xxx: scsi_dma_unmap fix

This patch fixes the following regression the occurred during the
scsi_dma_map()/unmap() changes:

3w-9xxx 0001:45:00.0: DMA-API: device driver tries to free DMA memory
it has not allocated [device address=0x0000000000000000] [size=36
bytes]

Signed-off-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/3w-9xxx.c