aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2007-04-20 01:31:17 +0200
committerAdrian Bunk <bunk@stusta.de>2007-04-20 01:31:17 +0200
commitad65d701caf0937add48e1c54263850a6a382d27 (patch)
tree4270124dfc22a85f7ef8943723d8086334989306 /arch
parenteed22cdc141e11eacd8cd544bdc41432ceb506d1 (diff)
[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: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions