[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140807.160601.2147481708099136783.davem@davemloft.net>
Date: Thu, 07 Aug 2014 16:06:01 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: u.kleine-koenig@...gutronix.de
Cc: netdev@...r.kernel.org, kernel@...gutronix.de,
f.fainelli@...il.com, thomas.petazzoni@...e-electrons.com
Subject: Re: [PATCH] net: mvneta: Fix reference counting for phy_node
From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Date: Thu, 7 Aug 2014 21:58:46 +0200
> If there is a "phy" handle the probe function returns with holding a
> reference to that node. Make sure that in the fixed phy case there is
> also held a reference to yield a consistant state.
>
> Also add the corresponding of_node_put in the error path and the remove
> function.
>
> Fixes: 83895bedeee6 ("net: mvneta: add support for fixed links")
> Fixes: c5aff18204da ("net: mvneta: driver for Marvell Armada 370/XP network unit")
> 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