diff options
Diffstat (limited to 'drivers/block/mtip32xx')
-rw-r--r-- | drivers/block/mtip32xx/mtip32xx.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.c b/drivers/block/mtip32xx/mtip32xx.c index 516026954be6..5299a65182db 100644 --- a/drivers/block/mtip32xx/mtip32xx.c +++ b/drivers/block/mtip32xx/mtip32xx.c | |||
@@ -4615,7 +4615,7 @@ static int mtip_pci_probe(struct pci_dev *pdev, | |||
4615 | if (rv) { | 4615 | if (rv) { |
4616 | dev_warn(&pdev->dev, | 4616 | dev_warn(&pdev->dev, |
4617 | "Unable to enable MSI interrupt.\n"); | 4617 | "Unable to enable MSI interrupt.\n"); |
4618 | goto block_initialize_err; | 4618 | goto msi_initialize_err; |
4619 | } | 4619 | } |
4620 | 4620 | ||
4621 | /* Initialize the block layer. */ | 4621 | /* Initialize the block layer. */ |
@@ -4645,6 +4645,8 @@ static int mtip_pci_probe(struct pci_dev *pdev, | |||
4645 | 4645 | ||
4646 | block_initialize_err: | 4646 | block_initialize_err: |
4647 | pci_disable_msi(pdev); | 4647 | pci_disable_msi(pdev); |
4648 | |||
4649 | msi_initialize_err: | ||
4648 | if (dd->isr_workq) { | 4650 | if (dd->isr_workq) { |
4649 | flush_workqueue(dd->isr_workq); | 4651 | flush_workqueue(dd->isr_workq); |
4650 | destroy_workqueue(dd->isr_workq); | 4652 | destroy_workqueue(dd->isr_workq); |