Re: [PATCH] stmmac: add missing of_node_put

2017-01-17 Thread David Miller
From: Julia Lawall Date: Tue, 17 Jan 2017 12:23:21 +0100 > The function stmmac_dt_phy provides several possibilities for initializing > plat->mdio_node, all of which have the effect of increasing the reference > count of the assigned value. This field is not updated elsewhere, so the > value is

Re: [PATCH] stmmac: add missing of_node_put

2017-01-17 Thread Alexandre Torgue
Hi On 01/17/2017 12:23 PM, Julia Lawall wrote: The function stmmac_dt_phy provides several possibilities for initializing plat->mdio_node, all of which have the effect of increasing the reference count of the assigned value. This field is not updated elsewhere, so the value is live until the en

[PATCH] stmmac: add missing of_node_put

2017-01-17 Thread Julia Lawall
The function stmmac_dt_phy provides several possibilities for initializing plat->mdio_node, all of which have the effect of increasing the reference count of the assigned value. This field is not updated elsewhere, so the value is live until the end of the lifetime of plat (devm_allocated), just a