aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx4/alias_GUID.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2019-03-07 05:33:44 +0000
committerMartin K. Petersen <[email protected]>2019-03-14 11:01:36 +0000
commit3a487ff78c4b2bf5686dbb29178cfd78b3eed053 (patch)
tree04a80d647471e8ec727fa5b23007d9b7122d2233 /drivers/infiniband/hw/mlx4/alias_GUID.c
parentscsi: libiscsi: Hold back_lock when calling iscsi_complete_task (diff)
downloadkernel-3a487ff78c4b2bf5686dbb29178cfd78b3eed053.tar.gz
kernel-3a487ff78c4b2bf5686dbb29178cfd78b3eed053.zip
scsi: lpfc: Fix error codes in lpfc_sli4_pci_mem_setup()
It used to be that "error" was set to -ENODEV at the start of the function but we shifted some code around an now "error" is set to zero for most error paths. There is a mix of direct returns and "goto out" but I changed everything to direct returns for consistency. Fixes: 56de8357049c ("scsi: lpfc: fix calls to dma_set_mask_and_coherent()") Signed-off-by: Dan Carpenter <[email protected]> Acked-by: James SmartĀ  <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/alias_GUID.c')
0 files changed, 0 insertions, 0 deletions