Commit f084290
scsi: lpfc: Free phba irq in lpfc_sli4_enable_msi() when pci_irq_vector() fails
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>1 parent 8eccc58 commit f084290
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13170 | 13170 | | |
13171 | 13171 | | |
13172 | 13172 | | |
| 13173 | + | |
13173 | 13174 | | |
13174 | 13175 | | |
13175 | 13176 | | |
| |||
13250 | 13251 | | |
13251 | 13252 | | |
13252 | 13253 | | |
| 13254 | + | |
13253 | 13255 | | |
13254 | 13256 | | |
13255 | 13257 | | |
| |||
0 commit comments