linux/drivers/scsi/lpfc
Justin Tee 1be28b37a6 scsi: lpfc: Free phba irq in lpfc_sli4_enable_msi() when pci_irq_vector() fails
[ Upstream commit f0842902b3 ]

Fix smatch warning regarding missed calls to free_irq().  Free the phba IRQ
in the failed pci_irq_vector cases.

lpfc_init.c: lpfc_sli4_enable_msi() warn: 'phba->pcidev->irq' from
             request_irq() not released.

Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20250131000524.163662-3-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-05-29 11:03:03 +02:00
..
lpfc.h scsi: lpfc: Fix unsolicited FLOGI kref imbalance when in direct attached topology 2024-08-02 21:48:05 -04:00
lpfc_attr.c Merge patch series "Update lpfc to revision 14.4.0.3" 2024-07-04 23:25:40 -04:00
lpfc_attr.h scsi: lpfc: Revise copyright for new company language 2018-07-10 22:15:09 -04:00
lpfc_bsg.c SCSI misc on 20240928 2024-09-29 09:22:34 -07:00
lpfc_bsg.h scsi: lpfc: Copyright updates for 14.2.0.5 patches 2022-07-07 17:21:44 -04:00
lpfc_compat.h scsi: lpfc: Revise copyright for new company language 2018-07-10 22:15:09 -04:00
lpfc_crtn.h scsi: lpfc: Replace blk_irq_poll intr handler with threaded IRQ 2023-05-08 07:16:05 -04:00
lpfc_ct.c scsi: lpfc: Check SLI_ACTIVE flag in FDMI cmpl before submitting follow up FDMI 2024-12-14 20:04:00 +01:00
lpfc_debugfs.c scsi: lpfc: Use a dedicated lock for ras_fwlog state 2024-03-10 18:56:43 -04:00
lpfc_debugfs.h scsi: lpfc: Copyright updates for 14.2.0.6 patches 2022-08-31 23:39:58 -04:00
lpfc_disc.h scsi: lpfc: Ensure DA_ID handling completion before deleting an NPIV instance 2024-09-12 21:21:19 -04:00
lpfc_els.c scsi: lpfc: Revise TRACE_EVENT log flag severities from KERN_ERR to KERN_WARNING 2024-09-12 21:21:19 -04:00
lpfc_hbadisc.c scsi: lpfc: Ignore ndlp rport mismatch in dev_loss_tmo callbk 2025-05-29 11:03:03 +02:00
lpfc_hw.h scsi: lpfc: Support loopback tests with VMID enabled 2024-09-12 21:21:19 -04:00
lpfc_hw4.h scsi: lpfc: Restrict support for 32 byte CDBs to specific HBAs 2024-09-12 21:21:19 -04:00
lpfc_ids.h scsi: lpfc: Copyright updates for 14.2.0.5 patches 2022-07-07 17:21:44 -04:00
lpfc_init.c scsi: lpfc: Free phba irq in lpfc_sli4_enable_msi() when pci_irq_vector() fails 2025-05-29 11:03:03 +02:00
lpfc_logmsg.h scsi: lpfc: Introduce LOG_NODE_VERBOSE messaging flag 2023-10-13 16:58:27 -04:00
lpfc_mbox.c scsi: lpfc: Define types in a union for generic void *context3 ptr 2024-03-10 18:56:44 -04:00
lpfc_mem.c scsi: lpfc: Copyright updates for 14.2.0.16 patches 2023-11-15 09:52:58 -05:00
lpfc_nl.h scsi: lpfc: Revise copyright for new company language 2018-07-10 22:15:09 -04:00
lpfc_nportdisc.c scsi: lpfc: Update PRLO handling in direct attached topology 2024-08-02 21:48:05 -04:00
lpfc_nvme.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
lpfc_nvme.h scsi: lpfc: Copyright updates for 14.2.0.0 patches 2022-03-15 13:51:50 -04:00
lpfc_nvmet.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
lpfc_scsi.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
lpfc_scsi.h scsi: lpfc: Copyright updates for 14.4.0.2 patches 2024-05-06 21:53:58 -04:00
lpfc_sli.c scsi: lpfc: Call lpfc_sli4_queue_unset() in restart and rmmod paths 2024-12-14 20:04:00 +01:00
lpfc_sli.h scsi: lpfc: Copyright updates for 14.4.0.1 patches 2024-03-10 18:56:44 -04:00
lpfc_sli4.h scsi: lpfc: Copyright updates for 14.4.0.1 patches 2024-03-10 18:56:44 -04:00
lpfc_version.h scsi: lpfc: Update lpfc version to 14.4.0.5 2024-09-12 21:21:19 -04:00
lpfc_vmid.c scsi: lpfc: Copyright updates for 14.4.0.4 patches 2024-08-02 21:48:06 -04:00
lpfc_vport.c scsi: lpfc: Ensure DA_ID handling completion before deleting an NPIV instance 2024-09-12 21:21:19 -04:00
lpfc_vport.h scsi: lpfc: Copyright updates for 14.2.0.6 patches 2022-08-31 23:39:58 -04:00
Makefile scsi: lpfc: Commonize VMID code location 2022-05-19 20:24:56 -04:00