Commit 8e3c283f authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Jens Axboe
Browse files

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: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 316ba573
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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));