diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2018-05-10 09:27:31 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-05-10 08:21:47 -0600 |
commit | 8e3c283fc652df38140ce45189de204b47fc3e17 (patch) | |
tree | dce3202087062786783e35e98c7d8537fcafea0c | |
parent | 316ba5736c9caa5dbcd84085989862d2df57431d (diff) | |
download | op-kernel-dev-8e3c283fc652df38140ce45189de204b47fc3e17.zip op-kernel-dev-8e3c283fc652df38140ce45189de204b47fc3e17.tar.gz |
mtip32xx: Fix an error handling path in 'mtip_pci_probe()'
Branch to the right label in the error handling path in order to keep it
logical.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | drivers/block/mtip32xx/mtip32xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.c b/drivers/block/mtip32xx/mtip32xx.c index 769c551..06257b8 100644 --- a/drivers/block/mtip32xx/mtip32xx.c +++ b/drivers/block/mtip32xx/mtip32xx.c @@ -4273,7 +4273,7 @@ static int mtip_pci_probe(struct pci_dev *pdev, if (!dd->isr_workq) { dev_warn(&pdev->dev, "Can't create wq %d\n", dd->instance); rv = -ENOMEM; - goto block_initialize_err; + goto setmask_err; } memset(cpu_list, 0, sizeof(cpu_list)); |