[SCSI] hpsa: fixup DMA address before freeing.
authorStephen M. Cameron <StephenM.Cameron>
Thu, 6 Jan 2011 20:47:53 +0000 (14:47 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 24 Jan 2011 17:29:05 +0000 (11:29 -0600)
commitd896f3f3d129f1e2fbb4e3824242bc0dc2fb1a07
tree19b215837e8eceaed5e4b6c6b934608b05f7849d
parentb03a7771c81a0d5f026250c8cd4091d9ee767fdc
[SCSI] hpsa: fixup DMA address before freeing.

Some low bits might have been set by the driver, causing
a message like this to come out:

 [   13.288062] ------------[ cut here ]------------
 [   13.293211] WARNING: at lib/dma-debug.c:803 check_unmap+0x1a1/0x654()
 [   13.300387] Hardware name: ProLiant DL180 G6
 [   13.305335] hpsa 0000:06:00.0: DMA-API: device driver tries to free
 DMA memory it has not allocated [device address=0x000000007f81e001]
 [size=640 bytes]

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/hpsa.c
drivers/scsi/hpsa_cmd.h