diff options
| author | Justin Tee <justin.tee@broadcom.com> | 2026-02-12 13:30:02 -0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2026-02-24 13:06:52 -0500 |
| commit | 6b0bcf4b6430688984fe1ee69fce7165a3e24b92 (patch) | |
| tree | dc8899b06e5971c083c6cc1537e6d3a6ec90b65f /tools/lib/python/kdoc | |
| parent | f6bfb8d149336661bb80e62980da9a45b920403c (diff) | |
scsi: lpfc: Cleanup error exit paths in lpfc_fdmi_cmd() and associated messages
Error labels in lpfc_fdmi_cmd() accidentally return success status and
can potentially leak memory. Change error exit path status to return a
non-zero value using a common exit path for failure cases. The error
path also frees allocated memory and provides logging.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://patch.msgid.link/20260212213008.149873-8-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
