OpenCloudOS-Kernel/drivers/scsi/lpfc
James Smart e2934ed183 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>
2017-01-20 18:53:21 -05:00
..
Makefile [SCSI] lpfc: fix problems with -Werror 2012-07-20 08:58:54 +01:00
lpfc.h scsi: lpfc: Reinstate lpfc_soft_wwn parameter 2017-01-05 20:56:41 -05:00
lpfc_attr.c scsi: lpfc: Fix lpfc_wwn_set return code check 2017-01-20 18:53:21 -05:00
lpfc_attr.h lpfc: Re-organize source for easier driver attribute management 2016-07-15 15:25:06 -04:00
lpfc_bsg.c scsi: fc: use bsg_job_done 2016-11-17 20:15:26 -05:00
lpfc_bsg.h scsi: lpfc: Synchronize link speed with boot driver 2016-11-08 17:29:50 -05:00
lpfc_compat.h [SCSI] lpfc 8.3.28: Critical Miscellaneous fixes 2011-12-15 10:57:45 +04:00
lpfc_crtn.h scsi: lpfc: Fix Xlane dynamic LUN set for LUN priority. 2017-01-05 00:21:12 -05:00
lpfc_ct.c scsi: lpfc: Mark symbols static where possible 2016-09-26 20:35:51 -04:00
lpfc_debugfs.c lpfc: fix missing zero termination in debugfs 2016-02-23 21:27:02 -05:00
lpfc_debugfs.h [SCSI] lpfc 8.3.33: Tie parallel I/O queues into separate MSIX vectors 2012-09-14 14:41:19 +01:00
lpfc_disc.h lpfc: Fix rport leak. 2015-06-05 22:40:19 -07:00
lpfc_els.c scsi: lpfc: Replace BUG() with BUG_ON() 2017-01-20 16:48:33 -05:00
lpfc_hbadisc.c lpfc: Update modified file copyrights 2016-04-11 16:57:09 -04:00
lpfc_hw.h scsi: lpfc: Clear the VendorVersion in the PLOGI/PLOGI ACC payload 2017-01-05 00:21:11 -05:00
lpfc_hw4.h scsi: lpfc: Fix fw download on SLI-4 FC adapters 2016-11-08 17:29:51 -05:00
lpfc_ids.h lpfc: Re-organize source for easier device-id management 2016-07-15 15:25:06 -04:00
lpfc_init.c scsi: lpfc: Reinstate lpfc_soft_wwn parameter 2017-01-05 20:56:41 -05:00
lpfc_logmsg.h [SCSI] lpfc 8.3.39: Fixed BlockGuard error reporting 2013-05-02 12:38:02 -07:00
lpfc_mbox.c scsi: lpfc: Mark symbols static where possible 2016-09-26 20:35:51 -04:00
lpfc_mem.c Revert "lpfc: Delete unnecessary checks before the function call mempool_destroy" 2016-05-11 13:02:43 -07:00
lpfc_nl.h
lpfc_nportdisc.c lpfc: Update modified file copyrights 2016-04-11 16:57:09 -04:00
lpfc_scsi.c scsi: lpfc: Fix Xlane dynamic LUN set for LUN priority. 2017-01-05 00:21:12 -05:00
lpfc_scsi.h lpfc: Copyright updates 2016-07-15 15:25:06 -04:00
lpfc_sli.c scsi: lpfc: Add missing memory barrier 2017-01-05 00:21:12 -05:00
lpfc_sli.h lpfc: Copyright updates 2016-07-15 15:25:06 -04:00
lpfc_sli4.h lpfc: Copyright updates 2016-07-15 15:25:06 -04:00
lpfc_version.h scsi: lpfc: lpfc version change to 11.2.0.4 2017-01-05 00:21:12 -05:00
lpfc_vport.c scsi: lpfc: FCoE VPort enable-disable does not bring up the VPort 2017-01-05 00:21:12 -05:00
lpfc_vport.h [SCSI] lpfc 8.3.39: Fixed VPI allocation issues after firmware dump is performed 2013-05-02 12:37:45 -07:00