diff options
| author | James Smart <[email protected]> | 2017-01-17 12:31:56 -0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-01-20 18:53:21 -0500 |
| commit | e2934ed183b94cff7626a517877ecc9bbe82cdc8 (patch) | |
| tree | 9f55c6105296b4aba5f73e18af5a8deabf24c725 /tools/perf/scripts/python/bin | |
| 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 <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions