[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140807.160713.557740387140282430.davem@davemloft.net>
Date: Thu, 07 Aug 2014 16:07:13 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: u.kleine-koenig@...gutronix.de
Cc: f.fainelli@...il.com, netdev@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, pantelis.antoniou@...il.com,
vbordug@...mvista.com, kernel@...gutronix.de
Subject: Re: [PATCH] net: fs_enet: fix reference counting for phy_node
From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Date: Thu, 7 Aug 2014 23:06:00 +0200
> Make sure that fs_enet_probe is left with a reference to the phy node.
> In the presence of a phy handle this is already the case as
> of_parse_phandle returns a reference. In the fixed phy case a call to
> of_node_get is necessary. Otherwise the error path and remove function
> drop a reference the driver isn't holding.
>
> Fixes: bb74d9a4a87b ("fs_enet: use the new fixed PHY helpers")
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists