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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/