diff options
author | Khalid Aziz | 2013-09-13 13:44:06 -0600 |
---|---|---|
committer | James Bottomley | 2013-10-25 09:57:57 +0100 |
commit | eeceec904031f859d3f348ab38fe4329c91f7550 (patch) | |
tree | 45ea2e141b3b5074bb0e25adb57b4fd9038805b6 /drivers/scsi/qla4xxx | |
parent | 5ae303443094ab49fca41cf331d5af189995bead (diff) |
[SCSI] buslogic: Added check for DMA mapping errors
Added check for DMA mapping errors for request sense data
buffer. Checking for mapping error can avoid potential wild
writes. This patch was prompted by the warning from
dma_unmap when kernel is compiled with CONFIG_DMA_API_DEBUG.
Signed-off-by: Khalid Aziz <khalid.aziz@oracle.com>
Tested-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx')
0 files changed, 0 insertions, 0 deletions