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
..
2006-09-12 17:12:31 -05:00
2006-09-12 17:12:31 -05:00
2007-02-07 18:32:18 -05:00
2006-08-06 15:59:26 -05:00
2006-11-15 16:41:27 -06:00
2006-09-12 17:12:31 -05:00
2007-02-17 02:40:24 +01:00
2006-11-22 14:57:56 +00:00
2007-02-07 15:50:06 -08:00
2007-01-27 09:26:36 -06:00
2006-09-23 15:33:43 -05:00
2007-02-17 19:36:33 +01:00
2007-01-13 13:49:58 -06:00
2006-12-05 10:25:35 -06:00
2006-09-12 17:12:31 -05:00
2006-11-30 05:24:39 +01:00
2006-11-22 14:57:56 +00:00
2006-11-22 14:57:56 +00:00
2007-01-27 09:28:58 -06:00
2007-02-09 09:14:07 -08:00
2006-11-22 14:57:56 +00:00
2007-01-03 16:57:38 -06:00
2007-01-13 13:49:58 -06:00
2006-11-15 16:43:50 -06:00