linux/drivers/scsi/lpfc
Stefano Brivio 6268465133 scsi: lpfc: Don't return internal MBXERR_ERROR code from probe function
commit 5c756065e4 upstream.

Internal error codes happen to be positive, thus the PCI driver core
won't treat them as failure, but we do. This would cause a crash later
on as lpfc_pci_remove_one() is called (e.g. as shutdown function).

Fixes: 6d368e5321 ("[SCSI] lpfc 8.3.24: Add resource extent support")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Acked-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
[bwh: Backported to 3.16: adjust context, indentation]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2018-01-01 20:51:30 +00:00
..
lpfc.h lpfc: Update Copyright on changed files from 8.3.45 patches 2014-06-02 18:29:09 +02:00
lpfc_attr.c lpfc: Fix ExpressLane priority setup 2014-06-02 18:30:18 +02:00
lpfc_bsg.c lpfc: Update Copyright on changed files from 8.3.45 patches 2014-06-02 18:29:09 +02:00
lpfc_bsg.h lpfc: Update Copyright on changed files from 8.3.45 patches 2014-06-02 18:29:09 +02:00
lpfc_compat.h [SCSI] lpfc 8.3.28: Critical Miscellaneous fixes 2011-12-15 10:57:45 +04:00
lpfc_crtn.h lpfc: Update Copyright on changed files 2014-06-02 18:29:05 +02:00
lpfc_ct.c [SCSI] lpfc: Fix typo on NULL assignment 2013-10-25 11:25:54 +01:00
lpfc_debugfs.c lpfc: Update Copyright on changed files 2014-06-02 18:29:05 +02: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 [SCSI] lpfc 8.3.44: Fix kernel panics from corrupted ndlp list 2014-03-15 10:18:55 -07:00
lpfc_els.c lpfc: Update Copyright on changed files 2014-06-02 18:29:05 +02:00
lpfc_hbadisc.c SCSI for-linus on 20140613 2014-06-14 19:49:48 -05:00
lpfc_hw.h lpfc: Update Copyright on changed files from 8.3.45 patches 2014-06-02 18:29:09 +02:00
lpfc_hw4.h lpfc: Update Copyright on changed files from 8.3.45 patches 2014-06-02 18:29:09 +02:00
lpfc_init.c scsi: lpfc: Don't return internal MBXERR_ERROR code from probe function 2018-01-01 20:51:30 +00: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 8.3.41: Ensure driver properly zeros unused fields in SLI4 mailbox commands 2013-08-23 13:18:03 -04:00
lpfc_mem.c lpfc: Update Copyright on changed files from 8.3.45 patches 2014-06-02 18:29:09 +02:00
lpfc_nl.h Fix common misspellings 2011-03-31 11:26:23 -03:00
lpfc_nportdisc.c [SCSI] lpfc 8.3.44: Fix Crash in lpfc_els_timeout_handler 2014-03-15 10:18:55 -07:00
lpfc_scsi.c lpfc: Update Copyright on changed files 2014-06-02 18:29:05 +02:00
lpfc_scsi.h lpfc: Update Copyright on changed files from 8.3.45 patches 2014-06-02 18:29:09 +02:00
lpfc_sli.c lpfc: Fix ExpressLane priority setup 2014-06-02 18:30:18 +02:00
lpfc_sli.h lpfc: Update Copyright on changed files from 8.3.45 patches 2014-06-02 18:29:09 +02:00
lpfc_sli4.h lpfc: Update Copyright on changed files from 8.3.45 patches 2014-06-02 18:29:09 +02:00
lpfc_version.h lpfc: Update lpfc version to driver version 10.2.8001.0 2014-06-02 18:30:19 +02:00
lpfc_vport.c [SCSI] lpfc 8.3.41: Update copyrights for 8.3.41 modifications 2013-08-23 13:25:44 -04: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
Makefile [SCSI] lpfc: fix problems with -Werror 2012-07-20 08:58:54 +01:00