diff options
author | James Smart <jsmart2021@gmail.com> | 2017-01-17 23:31:56 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-01-21 02:53:21 +0300 |
commit | e2934ed183b94cff7626a517877ecc9bbe82cdc8 (patch) | |
tree | 9f55c6105296b4aba5f73e18af5a8deabf24c725 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2a3313d65f0bf6d3fefe8fa40e0208fe003e59e (diff) | |
download | linux-e2934ed183b94cff7626a517877ecc9bbe82cdc8.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions