fnic: pci_dma_mapping_error() doesn't return an error code
commitdd7328e4c53649c1c7ec36bc1cf5b229b8662047
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 7 Jul 2016 08:23:59 +0000 (7 11:23 +0300)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 21 Jul 2016 00:49:17 +0000 (20 20:49 -0400)
tree93cd008337a84658cbef04b12dc76f266816edac
parentde8c36bba33380fcc8564e69c039a4b84166e66d
fnic: pci_dma_mapping_error() doesn't return an error code

pci_dma_mapping_error() returns true on error and false on success.

Fixes: fd6ddfa4c1dd ('fnic: check pci_map_single() return value')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fnic/fnic_fcs.c