diff options
author | James Smart <jsmart2021@gmail.com> | 2019-03-04 15:27:51 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-03-06 19:26:45 -0500 |
commit | 1ffdd2c0440dfda533ca9477a89550c9f48f4b35 (patch) | |
tree | 6bfccb50555c7ba1aadf9aed5dcd5d20d8a13a17 /drivers/scsi/libiscsi_tcp.c | |
parent | cda7fa18653c47865d2a048d5bfa211d464b23e1 (diff) | |
download | linux-stable-1ffdd2c0440dfda533ca9477a89550c9f48f4b35.tar.gz linux-stable-1ffdd2c0440dfda533ca9477a89550c9f48f4b35.tar.bz2 linux-stable-1ffdd2c0440dfda533ca9477a89550c9f48f4b35.zip |
scsi: lpfc: resolve static checker warning in lpfc_sli4_hba_unset
The patch that replaced io channels for hdw_queues now reports the
following static checker warning:
drivers/scsi/lpfc/lpfc_init.c:11136 lpfc_sli4_hba_unset()
error: we previously assumed 'phba->pport' could be null (see line 11074)
Resolve by adding a pport NULL check.
[mkp: tag tweak]
Fixes: cdb42becdd40 ("scsi: lpfc: Replace io_channels for nvme and fcp with general hdw_queues per cpu"_
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libiscsi_tcp.c')
0 files changed, 0 insertions, 0 deletions