From: David Miller <davem@davemloft.net>
To: u.kleine-koenig@pengutronix.de
Cc: f.fainelli@gmail.com, vbordug@ru.mvista.com,
netdev@vger.kernel.org, kernel@pengutronix.de,
linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH] net: fs_enet: fix reference counting for phy_node
Date: Thu, 07 Aug 2014 16:07:13 -0700 (PDT) [thread overview]
Message-ID: <20140807.160713.557740387140282430.davem@davemloft.net> (raw)
In-Reply-To: <1407445560-20500-1-git-send-email-u.kleine-koenig@pengutronix.de>
From: Uwe Kleine-K=F6nig <u.kleine-koenig@pengutronix.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 functio=
n
> drop a reference the driver isn't holding.
> =
> Fixes: bb74d9a4a87b ("fs_enet: use the new fixed PHY helpers")
> Signed-off-by: Uwe Kleine-K=F6nig <u.kleine-koenig@pengutronix.de>
Applied.
prev parent reply other threads:[~2014-08-07 23:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-07 21:06 [PATCH] net: fs_enet: fix reference counting for phy_node Uwe Kleine-König
2014-08-07 23:07 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140807.160713.557740387140282430.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=kernel@pengutronix.de \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=netdev@vger.kernel.org \
--cc=u.kleine-koenig@pengutronix.de \
--cc=vbordug@ru.mvista.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).