git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d791d41
)
[SCSI] QLOGICPTI: Do not unmap DMA unless we actually mapped something.
author
David S. Miller
<davem@sunset.davemloft.net>
Sat, 14 Apr 2007 17:29:10 +0000
(10:29 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sat, 14 Apr 2007 17:29:10 +0000
(10:29 -0700)
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>
No differences found