linux/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
..
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
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_debugfs.h
lpfc_disc.h
lpfc_els.c scsi: lpfc: Replace BUG() with BUG_ON() 2017-01-20 16:48:33 -05:00
lpfc_hbadisc.c
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
lpfc_mbox.c scsi: lpfc: Mark symbols static where possible 2016-09-26 20:35:51 -04:00
lpfc_mem.c
lpfc_nl.h
lpfc_nportdisc.c
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
Makefile