diff options
author | James Smart | 2017-01-17 12:31:56 -0800 |
---|---|---|
committer | Martin K. Petersen | 2017-01-20 18:53:21 -0500 |
commit | e2934ed183b94cff7626a517877ecc9bbe82cdc8 (patch) | |
tree | 9f55c6105296b4aba5f73e18af5a8deabf24c725 /drivers/scsi/hisi_sas | |
parent | f2a3313d65f0bf6d3fefe8fa40e0208fe003e59e (diff) |
scsi: lpfc: Fix lpfc_wwn_set return code check
When I reversed the patch to re-add the lpfc_soft_wwn parameter feature,
it re-added code that had a long-standing bug. (that's what I get I
guess :)
As Dan Carpenter pointed out - error checks looked at wrong polarity. 0
is success, -errno is failure. Updated checks.
Signed-off-by: James Smart <james.smart@broadcom.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/hisi_sas')
0 files changed, 0 insertions, 0 deletions