]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: megaraid_sas: Fix goto labels in error handling
authorShivasharan S <shivasharan.srikanteshwara@broadcom.com>
Wed, 17 Oct 2018 06:37:44 +0000 (23:37 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 7 Nov 2018 01:33:56 +0000 (20:33 -0500)
commit27882cce18333ef7e98ea16269ad05e90ef20501
treee669e8aa4a82768554790f0e2fcbbdb566772a8b
parent2796a2e9491a52c756f68969160285450200a698
scsi: megaraid_sas: Fix goto labels in error handling

During init, if pci_alloc_irq_vectors() fails, the driver has not yet setup
the IRQs. Fix the goto labels and error handling for this case.

Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/megaraid/megaraid_sas_base.c