]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ucc_geth: Fix use-after-of_node_put() in ucc_geth_probe().
authorDavid S. Miller <davem@davemloft.net>
Sun, 29 Mar 2009 08:20:18 +0000 (01:20 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Mar 2009 08:20:18 +0000 (01:20 -0700)
commit129dd9677b30a07bb832247dfe8d6089f1ac61a0
tree6edba2e388d9020c23b11d77ea533040067cb143
parentee76db5e9e9896312f001790855a798472440328
ucc_geth: Fix use-after-of_node_put() in ucc_geth_probe().

We can't put 'mdio' until after we've used it in the
fsl_pq_mdio_bus_name() call.

Also fix error return values.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ucc_geth.c