]> git.baikalelectronics.ru Git - kernel.git/commit
bfin_mac: fix error path
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Fri, 8 Jan 2016 11:28:15 +0000 (16:58 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Jan 2016 03:46:01 +0000 (22:46 -0500)
commit8c91956dbd5f62c70b97db7012fd0f703cd3bee6
treeb22e2ad23c93998cd71487a929f98d700a510536
parente1681b489dcc089c1a06fb8f667a1acfb9d1aeed
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 200b167d3fff ("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: 200b167d3fff ("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>
drivers/net/ethernet/adi/bfin_mac.c