From eeceec904031f859d3f348ab38fe4329c91f7550 Mon Sep 17 00:00:00 2001 From: Khalid Aziz Date: Fri, 13 Sep 2013 13:44:06 -0600 Subject: [PATCH] [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 Tested-by: Tetsuo Handa Signed-off-by: James Bottomley --- Reading git-format-patch failed