mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 12:16:43 +07:00
bfin_mac: fix error path
While building blackfin defconfig we were getting a build warning: warning: label 'out_err_irq_alloc' defined but not used. Commite7f4dc3536
("mdio: Move allocation of interrupts into core") removed the label out_err_mdiobus_register but then mistakenly jumped to out_err_alloc. But it was actually supposed to jump to out_err_irq_alloc. Fixes:e7f4dc3536
("mdio: Move allocation of interrupts into core") Cc: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
053842a8bf
commit
fdffd2e8c7
@ -1857,7 +1857,7 @@ static int bfin_mii_bus_probe(struct platform_device *pdev)
|
||||
rc = mdiobus_register(miibus);
|
||||
if (rc) {
|
||||
dev_err(&pdev->dev, "Cannot register MDIO bus!\n");
|
||||
goto out_err_alloc;
|
||||
goto out_err_irq_alloc;
|
||||
}
|
||||
|
||||
platform_set_drvdata(pdev, miibus);
|
||||
|
Loading…
Reference in New Issue
Block a user