[PATCH 1/3] net: ucc_geth: drop acquired references in probe error path and remove
David Miller
davem at davemloft.net
Fri Aug 8 09:07:19 EST 2014
From: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
Date: Thu, 7 Aug 2014 23:48:24 +0200
> The ucc_geth_probe function assigns to ug_info->tbi_node and
> ug_info->phy_node a value returned by of_parse_phandle which returns a
> new reference. Put this reference again in the error path of
> ucc_geth_probe and when removing the device.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
Applied.
More information about the Linuxppc-dev
mailing list