You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07: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:
committed by
Jens Axboe
parent
316ba5736c
commit
8e3c283fc6
@@ -4273,7 +4273,7 @@ static int mtip_pci_probe(struct pci_dev *pdev,
|
|||||||
if (!dd->isr_workq) {
|
if (!dd->isr_workq) {
|
||||||
dev_warn(&pdev->dev, "Can't create wq %d\n", dd->instance);
|
dev_warn(&pdev->dev, "Can't create wq %d\n", dd->instance);
|
||||||
rv = -ENOMEM;
|
rv = -ENOMEM;
|
||||||
goto block_initialize_err;
|
goto setmask_err;
|
||||||
}
|
}
|
||||||
|
|
||||||
memset(cpu_list, 0, sizeof(cpu_list));
|
memset(cpu_list, 0, sizeof(cpu_list));
|
||||||
|
|||||||
Reference in New Issue
Block a user