diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-06-17 10:40:43 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 04:04:51 -0700 |
commit | ddcc7e347a891937be65358b43f40b7f81185f8f (patch) | |
tree | 35492d904678bb36560efa05dd1a474e9ee78b36 /drivers/scsi/zalon.c | |
parent | 5edc33480c1c363ab361a881f2957b9fba5185cf (diff) | |
download | kernel_samsung_crespo-ddcc7e347a891937be65358b43f40b7f81185f8f.zip kernel_samsung_crespo-ddcc7e347a891937be65358b43f40b7f81185f8f.tar.gz kernel_samsung_crespo-ddcc7e347a891937be65358b43f40b7f81185f8f.tar.bz2 |
isci: fix dma_unmap_sg usage
One bug and a cleanup:
1/ Fix cases where we were unmapping invalid addresses (smp requests were
being unmapped)
[ 604.662770] ------------[ cut here ]------------
[ 604.668026] WARNING: at lib/dma-debug.c:800 check_unmap+0x418/0x740()
[ 604.675315] Hardware name: SandyBridge Platform
[ 604.680465] isci 0000:03:00.0: DMA-API: device driver tries to free an invalid DMA memory address
2/ The unmap routine is too large to be an inline function, and
isci_request_io_request_get_next_sge is unused.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/zalon.c')
0 files changed, 0 insertions, 0 deletions