diff options
author | James Smart <jsmart2021@gmail.com> | 2022-05-06 05:55:09 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-05-11 04:12:02 +0200 |
commit | ba3d58a1df460ba28bb5989ad7269ff48682375a (patch) | |
tree | f9ee99b36dab8837b87e0e84b69d9efd8c3d7402 /drivers/scsi/lpfc/lpfc_hbadisc.c | |
parent | scsi: lpfc: Fix element offset in __lpfc_sli_release_iocbq_s4() (diff) | |
download | linux-ba3d58a1df460ba28bb5989ad7269ff48682375a.tar.xz linux-ba3d58a1df460ba28bb5989ad7269ff48682375a.zip |
scsi: lpfc: Fill in missing ndlp kref puts in error paths
Code review, following every lpfc_nlp_get() call vs calls during error
handling, discovered cases of missing put calls.
Correct by adding ndlp kref puts in the respective error paths.
Also added comments to several of the error paths to record relationships
to reference counts.
Link: https://lore.kernel.org/r/20220506035519.50908-3-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@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/lpfc/lpfc_hbadisc.c')
0 files changed, 0 insertions, 0 deletions