summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2007-04-17 14:35:07 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2007-05-01 17:05:57 -0700
commitd3bf6f8a58459b7aefc10591807846b0b5697244 (patch)
treef99d9862a8860bd466d176fbfbf68bf2b3d26aba /arch
parent169ed0ec5ee1f3733d5b23cd0d2ddadc697472df (diff)
Fix qlogicpti DMA unmapping
[SCSI] QLOGICPTI: Do not unmap DMA unless we actually mapped something. We only map DMA when cmd->request_bufflen is non-zero for non-sg buffers, we thus should make the same check when unmapping. Based upon a report from Pasi Pirhonen. Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions