[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140807.160708.1321297135015241670.davem@davemloft.net>
Date: Thu, 07 Aug 2014 16:07:08 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: u.kleine-koenig@...gutronix.de
Cc: f.fainelli@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH] net: bcmgenet: fix reference counting for phy node
From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Date: Thu, 7 Aug 2014 22:53:40 +0200
> For the fixed phy setup make sure to not overwrite a valid value of
> phy_dn (that is holding a reference to a phy-handle) and also acquire a
> reference to the MAC node to consistently return with the phy_dn pointer
> holding a reference.
>
> Also add the corresponding of_node_put in the error path and the remove
> function.
>
> Fixes: 9abf0c2b717a ("net: bcmgenet: use the new fixed PHY helpers")
> Fixes: aa09677cba42 ("net: bcmgenet: add MDIO routines")
> 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