diff options
author | Stefano Brivio <[email protected]> | 2017-09-06 11:02:56 +0200 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2017-09-15 21:15:32 -0400 |
commit | 5c756065e47dc3e84b00577bd109f0a8e69903d7 (patch) | |
tree | 574d00cdb317daf16f0fc57397e233f2ebd7238e /lib/mpi | |
parent | 6c92f7dbf25c36f35320e4ae0b508676410bac04 (diff) |
scsi: lpfc: Don't return internal MBXERR_ERROR code from probe function
Internal error codes happen to be positive, thus the PCI driver core
won't treat them as failure, but we do. This would cause a crash later
on as lpfc_pci_remove_one() is called (e.g. as shutdown function).
Fixes: 6d368e532168 ("[SCSI] lpfc 8.3.24: Add resource extent support")
Signed-off-by: Stefano Brivio <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Acked-by: Dick Kennedy <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions