[SCSI] aacraid: SCSI dma mapping failure case handling
authorMahesh Rajashekhara <Mahesh_Rajashekhara@pmc-sierra.com>
Fri, 19 Oct 2012 13:51:07 +0000 (19:21 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 27 Nov 2012 04:59:46 +0000 (08:59 +0400)
commit0b4334473d48aa18e8448f9f718f1dcd0398c550
tree44902b95c4eb73914758430eabef102fd61e35cf
parentb56d1003512c33aa1752d84e3fa078bc76b15bf8
[SCSI] aacraid: SCSI dma mapping failure case handling

This patch handles SCSI dma mapping failure case. Reporting error code to the
upper layer instead of BUG_ON().

Signed-off-by: Mahesh Rajashekhara <Mahesh_Rajashekhara@pmc-sierra.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/aacraid/aachba.c
drivers/scsi/aacraid/aacraid.h