linux_dsm_epyc7002/drivers/scsi/lpfc
SeongJae Park 46da547e21 scsi: lpfc: Avoid another null dereference in lpfc_sli4_hba_unset()
Commit cdb42becdd ("scsi: lpfc: Replace io_channels for nvme and fcp with
general hdw_queues per cpu") has introduced static checker warnings for
potential null dereferences in 'lpfc_sli4_hba_unset()' and commit 1ffdd2c044
("scsi: lpfc: resolve static checker warning in lpfc_sli4_hba_unset") has
tried to fix it.  However, yet another potential null dereference is
remaining.  This commit fixes it.

This bug was discovered and resolved using Coverity Static Analysis
Security Testing (SAST) by Synopsys, Inc.

Link: https://lore.kernel.org/r/20200623084122.30633-1-sjpark@amazon.com
Fixes: 1ffdd2c044 ("scsi: lpfc: resolve static checker warning inlpfc_sli4_hba_unset")
Fixes: cdb42becdd ("scsi: lpfc: Replace io_channels for nvme and fcp with general hdw_queues per cpu")
Reviewed-by: James Smart <james.smart@broadcom.com>
Signed-off-by: SeongJae Park <sjpark@amazon.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2020-06-23 23:56:52 -04:00
..
lpfc_attr.c SCSI misc on 20200605 2020-06-05 15:11:50 -07:00
lpfc_attr.h
lpfc_bsg.c
lpfc_bsg.h
lpfc_compat.h
lpfc_crtn.h lpfc: nvmet: Add support for NVME LS request hosthandle 2020-05-09 16:18:34 -06:00
lpfc_ct.c SCSI misc on 20200605 2020-06-05 15:11:50 -07:00
lpfc_debugfs.c SCSI misc on 20200605 2020-06-05 15:11:50 -07:00
lpfc_debugfs.h
lpfc_disc.h
lpfc_els.c scsi: lpfc: Fix lpfc_nodelist leak when processing unsolicited event 2020-05-26 15:55:14 -04:00
lpfc_hbadisc.c SCSI misc on 20200605 2020-06-05 15:11:50 -07:00
lpfc_hw4.h scsi: lpfc: Fix MDS Diagnostic Enablement definition 2020-05-07 22:47:26 -04:00
lpfc_hw.h
lpfc_ids.h
lpfc_init.c scsi: lpfc: Avoid another null dereference in lpfc_sli4_hba_unset() 2020-06-23 23:56:52 -04:00
lpfc_logmsg.h
lpfc_mbox.c scsi: lpfc: Fix noderef and address space warnings 2020-05-07 22:47:26 -04:00
lpfc_mem.c lpfc: Refactor lpfc nvme headers 2020-05-09 16:18:34 -06:00
lpfc_nl.h
lpfc_nportdisc.c lpfc: nvmet: Add support for NVME LS request hosthandle 2020-05-09 16:18:34 -06:00
lpfc_nvme.c SCSI misc on 20200605 2020-06-05 15:11:50 -07:00
lpfc_nvme.h lpfc: nvmet: Add support for NVME LS request hosthandle 2020-05-09 16:18:34 -06:00
lpfc_nvmet.c SCSI misc on 20200605 2020-06-05 15:11:50 -07:00
lpfc_scsi.c
lpfc_scsi.h
lpfc_sli4.h scsi: lpfc: Change default queue allocation for reduced memory consumption 2020-05-07 22:47:24 -04:00
lpfc_sli.c SCSI misc on 20200605 2020-06-05 15:11:50 -07:00
lpfc_sli.h
lpfc_version.h scsi: lpfc: Update lpfc version to 12.8.0.1 2020-05-07 22:47:27 -04:00
lpfc_vport.c
lpfc_vport.h
lpfc.h SCSI misc on 20200605 2020-06-05 15:11:50 -07:00
Makefile