Skip to content

Commit 8e3c283

Browse files
tititiou36axboe
authored andcommitted
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>
1 parent 316ba57 commit 8e3c283

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/block/mtip32xx/mtip32xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4273,7 +4273,7 @@ static int mtip_pci_probe(struct pci_dev *pdev,
42734273
if (!dd->isr_workq) {
42744274
dev_warn(&pdev->dev, "Can't create wq %d\n", dd->instance);
42754275
rv = -ENOMEM;
4276-
goto block_initialize_err;
4276+
goto setmask_err;
42774277
}
42784278

42794279
memset(cpu_list, 0, sizeof(cpu_list));

0 commit comments

Comments
 (0)