mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 07:31:45 +00:00
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>
This commit is contained in:
parent
316ba5736c
commit
8e3c283fc6
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user