diff options
author | SeongJae Park <sjpark@amazon.de> | 2020-06-23 10:41:22 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-06-24 05:56:52 +0200 |
commit | 46da547e21d6cefceec3fb3dba5ebbca056627fc (patch) | |
tree | 2394695db3b24d38990c81947981693c1eb51285 /drivers/s390/scsi | |
parent | scsi: libata: Fix the ata_scsi_dma_need_drain stub (diff) | |
download | linux-46da547e21d6cefceec3fb3dba5ebbca056627fc.tar.xz linux-46da547e21d6cefceec3fb3dba5ebbca056627fc.zip |
scsi: lpfc: Avoid another null dereference in lpfc_sli4_hba_unset()
Commit cdb42becdd40 ("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 1ffdd2c0440d
("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: 1ffdd2c0440d ("scsi: lpfc: resolve static checker warning inlpfc_sli4_hba_unset")
Fixes: cdb42becdd40 ("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>
Diffstat (limited to 'drivers/s390/scsi')
0 files changed, 0 insertions, 0 deletions