David S. Miller 8d3ee2cb0a [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>
2007-04-14 10:29:10 -07:00
..
2007-03-14 15:27:49 -07:00
2007-03-27 17:55:48 +02:00
2007-03-09 21:06:40 -05:00
2007-04-11 10:44:15 -07:00
2007-02-11 10:51:24 -08:00
2007-02-11 10:51:24 -08:00