[PATCH 0/2] Added pci_mapping_error() call and related clean up

From: Tina Johnson
Date: Sun Jan 18 2015 - 01:42:59 EST


Replaced null test on dma handle with pci_dma_mapping_error() and cleaned
up the error handling code.

Tina Johnson (2):
drivers: scsi: mpt2sas: Added pci_dma_mapping_error() call
drivers: scsi: mpt2sas: Clean up error handling for calls to pci_map_single

drivers/scsi/mpt2sas/mpt2sas_transport.c | 35 +++++++++++++++---------------
1 file changed, 17 insertions(+), 18 deletions(-)

--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/