aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2016-01-08 06:28:15 -0500
committerDavid S. Miller <davem@davemloft.net>2016-01-10 22:46:01 -0500
commitfdffd2e8c7b361a831dc023c22bb8f4685c241ac (patch)
treeb22e2ad23c93998cd71487a929f98d700a510536
parent053842a8bffed47fab386954e2e9d0a00e13ae2c (diff)
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. Commit e7f4dc3536a4 ("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: e7f4dc3536a4 ("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>
-rw-r--r--drivers/net/ethernet/adi/bfin_mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/adi/bfin_mac.c b/drivers/net/ethernet/adi/bfin_mac.c
index 6f3432ae6703..5ddfd0ed61d4 100644
--- a/drivers/net/ethernet/adi/bfin_mac.c
+++ b/drivers/net/ethernet/adi/bfin_mac.c
@@ -1857,7 +1857,7 @@ static int bfin_mii_bus_probe(struct platform_device *pdev)
1857 rc = mdiobus_register(miibus); 1857 rc = mdiobus_register(miibus);
1858 if (rc) { 1858 if (rc) {
1859 dev_err(&pdev->dev, "Cannot register MDIO bus!\n"); 1859 dev_err(&pdev->dev, "Cannot register MDIO bus!\n");
1860 goto out_err_alloc; 1860 goto out_err_irq_alloc;
1861 } 1861 }
1862 1862
1863 platform_set_drvdata(pdev, miibus); 1863 platform_set_drvdata(pdev, miibus);