advansys: Check for DMA mapping errors
authorHannes Reinecke <hare@suse.de>
Fri, 24 Apr 2015 11:18:39 +0000 (13:18 +0200)
committerJames Bottomley <JBottomley@Odin.com>
Tue, 26 May 2015 05:59:42 +0000 (22:59 -0700)
commit2207063443739e934184076cbb23db8973d6b2d4
tree7c6d7484c8d1a05f6c2163bd15d74dca0cbe804d
parente14f66e921df944ce4c06b7e6ea8f057a32b6b3a
advansys: Check for DMA mapping errors

DMA mapping might fail, so we need to check for errors here.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/advansys.c