[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140807.160724.1353005428981700895.davem@davemloft.net>
Date: Thu, 07 Aug 2014 16:07:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: u.kleine-koenig@...gutronix.de
Cc: leoli@...escale.com, linuxppc-dev@...ts.ozlabs.org,
netdev@...r.kernel.org, kernel@...gutronix.de, f.fainelli@...il.com
Subject: Re: [PATCH 2/3] net: ucc_geth: make probe consistently acquire a
reference to the phy node
From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Date: Thu, 7 Aug 2014 23:48:25 +0200
> When the driver attaches to a device that has a phy handle the probe
> routine returns with a reference to that node. This reference is
> correctly dropped in the error path and the remove function. In the
> fixed phy case however no reference is acquired and so the error path
> might drop a reference the driver isn't holding. Fix that by getting a
> reference to the MAC.
>
> Fixes: 87009814cdbb ("ucc_geth: 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