James Smart ba3d58a1df 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>
2022-05-10 22:12:02 -04:00
..
2022-04-11 22:09:35 -04:00
2022-04-11 22:09:35 -04:00
2021-11-05 08:42:02 -07:00
2021-01-22 21:14:08 -05:00
2021-01-22 21:14:07 -05:00
2022-02-22 21:11:02 -05:00
2021-01-22 21:14:08 -05:00
2022-01-14 14:37:34 +01:00
2020-09-02 22:49:06 -04:00
2022-02-22 21:11:02 -05:00
2021-04-13 00:20:48 -04:00
2022-01-25 00:09:41 -05:00
2022-02-22 21:11:02 -05:00
2021-03-24 23:03:43 -04:00
2022-01-22 08:33:37 +02:00
2022-05-02 16:59:11 -04:00
2022-02-02 07:49:59 -07:00
2022-04-25 23:23:05 -04:00
2022-03-24 19:37:53 -07:00
2021-12-22 23:41:13 -05:00
2022-03-24 19:37:53 -07:00
2021-04-13 00:20:48 -04:00