diff options
author | James Smart <jsmart2021@gmail.com> | 2018-10-23 13:41:02 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-11-06 20:42:50 -0500 |
commit | 3952e91f110b1abd1f139a04896c3ba66171df84 (patch) | |
tree | eb59af4f7490e95258df15b70605000ad4278ab1 /drivers/scsi/lpfc/lpfc_crtn.h | |
parent | scsi: lpfc: Correct speeds on SFP swap (diff) | |
download | linux-dev-3952e91f110b1abd1f139a04896c3ba66171df84.tar.xz linux-dev-3952e91f110b1abd1f139a04896c3ba66171df84.zip |
scsi: lpfc: Fix lpfc_sli4_read_config return value check
An error is an error - but not to the existing return value check.
Revise check to handle any failure, not just EIO.
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_crtn.h')
0 files changed, 0 insertions, 0 deletions