commit | eeceec904031f859d3f348ab38fe4329c91f7550 | [log] [tgz] |
---|---|---|
author | Khalid Aziz <khalid.aziz@oracle.com> | Fri Sep 13 13:44:06 2013 -0600 |
committer | James Bottomley <JBottomley@Parallels.com> | Fri Oct 25 09:57:57 2013 +0100 |
tree | 45ea2e141b3b5074bb0e25adb57b4fd9038805b6 | |
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>